Easily view, navigate and search 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? Are you looking for a tool that is able to manage your favorite commands?
HSTR (HiSToRy) is a command line utility that brings improved Bash/zsh command completion from the history. It aims to make completion easier and more efficient than Ctrlr.
HSTR can also manage your command history (for instance you can remove commands that are obsolete or contain a piece of sensitive information) or bookmark your favorite commands.
Install:
- Ubuntu
- Fedora
- Gentoo
- CentOS
- openSUSE
- RHEL
- Debian
- Mint
- Arch Linux
- Manjaro Linux
- Scientific Linux
- Haiku OS
- macOS
- nix package manager
- Guix package manager
Build:
- build on any Linux distro
- build snap
- build on Ubuntu
- build on Debian
- build on Fedora
- build on Windows Subsystem for Linux (WSL)
- build on Cygwin
- build on macOS
Tarball:
Configure HSTR just by running:
hstr --show-configuration >> ~/.bashrc
For detailed HSTR configuration documentation please refer to Configuration.
Check man page:
man hstr
Read about HSTR in LinuxMagazine, UbuntuGeek, DebianAdmin, Tuxdiary, Softpedia and OSTechNix.
If you are HSTR 1.x user, please read about HSTR 2.x changes.