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.
Install htsr on Debian
Open the terminal and run the following commands
#wget www.clfh.de/frankh.asc
#apt-key add frankh.asc
adding the repository to /etc/apt/sources.list
deb http://www.clfh.de/debian wheezy main
deb-src http://www.clfh.de/debian wheezy main
Save and exit the file
Update source list
#apt-get update
Install hstr using the following command
#apt-get install hh
Optionally configure hh:
#hh –show-configuration >> ~/.bashrc
Video Tutorial