HSTR is a terminal user interface tool for bash and zsh that provides an improved command history search and navigation experience. It addresses the friction of recalling and retyping frequently used commands by offering a more efficient alternative to the standard reverse history search. The tool works as an interactive suggest box that lets users view, search, and navigate their shell history through a dedicated interface, replacing the keyboard-driven approach of Ctrl-r with a visual, browsable experience.
Beyond simple history retrieval, HSTR includes command management capabilities that allow users to curate their history by removing obsolete or sensitive commands, and to bookmark favorite commands for quick access. The tool supports both bash and zsh shells and is written in C, making it lightweight and responsive for interactive use.
HSTR suits developers and system administrators who spend significant time in the shell and want to reduce friction around command recall and reuse. It works well for anyone managing a large command history or who frequently executes complex, lengthy commands. The tool is available through package managers across numerous Linux distributions, BSD, macOS, and other Unix-like systems, with build options available for environments where packages are not pre-built.
The project maintains steady activity with regular updates and bug fixes. Development includes ongoing refinement of the user interface and shell integration. The tool has established documentation covering installation across multiple platforms, configuration options, and usage tips for advanced workflows like command tagging and history curation.