All apps/HSTR

HSTR

hstr

Bash and Zsh shell history TUI suggest box - easily view, navigate, search and manage your command history.

Runs as hstr, hh|macOS, Linux, Windows|github.com

Command form

ai-draft · 2 tasks · 8 fields

Browse or print shell command history. Interactive search is the default; shell setup output is also available.

Opens the form; the finished command lands at your prompt, unrun
otty gui hstr
Search historyExample values, fixed in this page — nothing here reaches a terminal
Basic
Initial filter*
string
Print to stdout
--non-interactive
TasksEach one presets the form for one job
Print matching history
patternnon_interactive
Zsh setup snippet
show_zsh
ParametersOnly these flags are editable in the form
Initial filter
string · positional 0
Print to stdout
Print filtered history on standard output and exit.
boolean
--non-interactive-n
Favorites view
boolean
--favorites-f
Delete last command from history
boolean
--kill-last-command-k
Show shell configuration
boolean
--show-configuration-s
Show Bash configuration
boolean
--show-bash-configuration-B
Show Zsh configuration
boolean
--show-zsh-configuration-Z
Show blacklist
boolean
--show-blacklist-b
SourcesEvery flag above is checked against these
man
B-n --non-interactive R Print filtered history on standard output and exit B-k --kill-last-command R Delete the last command from history and exit B-i --insert-in-terminal=[command] R Insert custom command in terminal prompt and exit B-f --favorites R Show favorites view immediately B-s --show-configuration R Show configuration to be added to the config…
manual

github.com

Before it fills your prompt, Otty checks the installed hstr against its version. A form that does not match your version is not offered.