Skip to content
/ hstr Public

bash and zsh shell history suggest box - easily view, navigate, search and manage your command history.

License

Notifications You must be signed in to change notification settings

dvorka/hstr

Repository files navigation

HSTR

GitHub Actions CI for Ubuntu Current release GitHub issues All releases downloads License

Easily view, navigate and search your command history with shell history suggest box for bash and zsh.

Shell History Suggest Box

Description

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 Ctrl-r.

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.

Installation

Install:

Build:

Tarball:

Check also packages for Linux and Unix.

Configuration

Configure HSTR just by running:

# bash
hstr --show-bash-configuration >> ~/.bashrc

# zsh
hstr --show-zsh-configuration >> ~/.zshrc

For detailed HSTR configuration documentation please refer to Configuration.

In the News

Read about HSTR in LinuxMagazine, UbuntuGeek, DebianAdmin, Tuxdiary, Softpedia and OSTechNix.

Documentation

Check man page:

man hstr

User videos: Zack, Dvorka and Yu-Jie Lin.

Bugs

https://github.com/dvorka/hstr/issues