rushstr is a fast, Rust-powered interactive shell history searcher — a modern, dependency-free alternative to hstr. Search, filter, and reuse your command-line history with fuzzy matching and a responsive TUI.
- ⚡ Blazing fast — implemented in pure Rust
- 🔍 Fuzzy, regex, and exact matchers
- 🎯 Keyboard-first interface — no mouse needed
- 💾 Persistent command history with favorites and usage stats
- 🐚 Zsh support — seamlessly integrates into your existing shell
# one time
brew tap donhk/homebrew-tap
# install
brew install donhk/homebrew-tap/rushstr
rushstr --zsh-shell-conf
source ~/.zshrc
# upgrade
brew upgrade donhk/homebrew-tap/rushstrcurl -sSL https://raw.githubusercontent.com/donhk/rushstr/main/install.sh | zshcargo install rushstrRequires Rust
git clone https://github.com/donhk/rushstr.git
cd rushstr
cargo build --release
./target/release/rushstr| Key Combo | Action |
|---|---|
Ctrl+X |
Mark/unmark as favorite |
Ctrl+F |
Show only favorites |
Ctrl+T |
Switch between matching modes |
Enter |
Select and print command |
Ctrl+C |
Copy selected command to clipboard and exit |
# Run in debug mode
cargo run
# Run tests
cargo testcargo release major --no-push --no-tag --no-publish --execute
cargo relase patch --no-push --no-tag --no-publish --execute
cargo release minor --no-push --no-tag --no-publish --execute