MCPcopy Index your code
hub / github.com/dvorka-oss/hstr

github.com/dvorka-oss/hstr @v3.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.2 ↗ · + Follow
224 symbols 535 edges 31 files 38 documented · 17%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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 TUI 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.

Packages

Packaging status

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.

Tips

Troubleshooting:

Tips and tricks:

In the News

Read about HSTR in:

Documentation

Check man page:

man hstr

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

Bugs

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

Core symbols most depended-on inside this repo

UnityPrint
called by 79
test/unity/src/c/unity.c
UnityTestResultsFailBegin
called by 17
test/unity/src/c/unity.c
UnityAddMsgIfSpecified
called by 17
test/unity/src/c/unity.c
hstr_exit
called by 13
src/hstr.c
UnityPrintNumberByStyle
called by 11
test/unity/src/c/unity.c
hstr_print_selection
called by 10
src/hstr.c
hstr_strdup
called by 10
src/hstr_utils.c
UnityPrintNumberUnsigned
called by 9
test/unity/src/c/unity.c

Shape

Function 191
Method 18
Class 14
Enum 1

Languages

C86%
Ruby9%
C++5%

Modules by API surface

test/unity/src/c/unity.c45 symbols
src/hstr.c35 symbols
test/unity/src/ruby/generate_test_runner.rb18 symbols
test/src/test.c15 symbols
src/hstr_utils.c15 symbols
src/hstr_history.c14 symbols
test/src/test_utf8.c12 symbols
src/hashset.c11 symbols
src/radixsort.c9 symbols
src/hstr_favorites.c9 symbols
src/hstr_blacklist.c7 symbols
src/hstr_regexp.c5 symbols

For agents

$ claude mcp add hstr \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page