| Crates.io | termsearch |
| lib.rs | termsearch |
| version | 0.3.1 |
| created_at | 2025-01-04 13:57:24.183853+00 |
| updated_at | 2025-01-30 07:21:51.774084+00 |
| description | A minimalist and super fast terminal history search tool. |
| homepage | https://github.com/zenoxygen/termsearch |
| repository | https://github.com/zenoxygen/termsearch |
| max_upload_size | |
| id | 1503922 |
| size | 49,781 |
A minimalist and super fast terminal history search tool, that uses a weighted scoring system to rank commands.
Note: it only works with zsh on Linux for now.
Add the following line to your ~/.zshrc file:
eval "$(termsearch init)"
This rebinds Ctrl+R to use termsearch for searching your command history.
termsearch search
-m, --max-history <MAX_HISTORY> Maximum number of history lines to read [default: 10000]
-r, --max-results <MAX_RESULTS> Maximum number of results to display [default: 10]
cargo install termsearch
cargo install --path .
cargo uninstall termsearch
Set log level with TERMSEARCH_LOG environment variable:
export TERMSEARCH_LOG=debug