hstr icon indicating copy to clipboard operation
hstr copied to clipboard

Key Bindings wrong and don't work on Debian 9/stretch

Open natehouk opened this issue 4 years ago • 0 comments

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.

natehouk avatar Feb 20 '20 11:02 natehouk