NAME
hstr — Bash and Zsh shell history TUI suggest box - easily view, navigate, search and manage your command history.
SYNOPSIS
https://github.com/dvorka/hstr/releasesINFO
DESCRIPTION
Bash and Zsh shell history TUI suggest box - easily view, navigate, search and manage your command history.
README
HSTR
Easily view, navigate and search your command history with shell history TUI suggest box for bash and zsh.
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.
Packages
|
|
Installation
Install:
- Ubuntu
- Debian
- Mint
- Fedora
- CentOS
- RHEL
- Scientific Linux
- openSUSE
- Gentoo
- Alpine Linux
- Arch
- Manjaro Linux
- FreeBSD
- Slackware Linux
- Void Linux
- Milis Linux
- Haiku OS
- macOS
- nix package manager
- Guix package manager
- MPR 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:
Check also packages for Linux and Unix.
Configuration
Configure HSTR just by running:
# bash hstr --show-bash-configuration >> ~/.bashrczsh
hstr --show-zsh-configuration >> ~/.zshrc
For detailed HSTR configuration documentation please refer to Configuration.
Tips
Troubleshooting:
Tips and tricks:
- How to hide commands from your history
- How to use command tags for fast lookup
- How to curate your favorite commands
In the News
Read about HSTR in:
Documentation
Check man page:
man hstr
User videos: Zack, Dvorka, Yayuuu, and Yu-Jie Lin.
