hstr
hstr copied to clipboard
Key Bindings wrong and don't work on Debian 9/stretch
After installing hstr and using the key binding Ctrl-r the following error output occurs:
$ ^A hstr --
bash: $'\001': command not found
That output is produced from the default key binding:
if [[ $- =~ .*i.* ]]; then bind '"\C-r": "\C-a hstr -- \C-j"'; fi
It's not clear to me what the point of the \C-a is...?
To get it working I had to update the key binding as follows:
if [[ $- =~ .*i.* ]]; then bind '"\C-r": "hstr\n"'; fi
Now Ctrl-r works.
This is on Debian 9/stretch.