Easily view, navigate, search and use your command history with shell history suggest box for Bash and Zsh.
Are you looking for a command that you used recently? Do you want to avoid the need to write long commands over and over again despite you used them recently? Are you looking for a tool that is able to manage your favorite commands?
HSTR is a command line utility that brings improved Bash command completion from the history. It aims to make completion easier and more efficient than Ctrl-r.
Apart to the completion, history can be managed (you can remove commands that e.g. contain sensitive information like passwords) and bookmark your favorite commands.
Enjoy video tutorial.
Install HSTR:
- download distribution
- build from source code
- Ubuntu
- Fedora
- Gentoo
- CentOS
- openSUSE
- RHEL
- Debian
- Mint
- Arch Linux
- Scientific Linux
- Mac OS
Optionally configure HSTR just by running:
hh --show-configuration >> ~/.bashrc
For detailed hh
configuration documentation please refer to Configuration.
Check hh
man page:
man hh
Read about hh
in LinuxMagazine, UbuntuGeek, DebianAdmin, Tuxdiary or Softpedia.