hstr icon indicating copy to clipboard operation
hstr copied to clipboard

Bash completion installation and suggestion

Open lfom opened this issue 3 years ago • 0 comments

Hello!

Thank you for this nice tool. I am using it with zsh on Pop!_OS 20.04 (like Ubuntu 20.04) and it seems to work fine. I am stull getting used to it, like not executing the command with ENTER and how to sort by time (from what I saw in the man page, both are possible).

The current installation tries to copy the Bash completion file to /usr/share/bash-completion/completions, what fails if the command is not run as root and will not honor --prefix setting (for instance, when trying to install it locally to ~/.local). Instead I think it should go to $PREFIX/etc/bash_completion.d/.

Using ./configure --prefix=$HOME/.local seemed to work fine besides the Bash completion file, so I manually copied it to ~/.local/etc/bash_completion.d/.

Regards

lfom avatar Mar 03 '21 02:03 lfom