hstr-rs
promkit
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hstr-rs
-
hstr-rs: A minimum hstr clone in Rust
Another hstr-rs even.
- Show r/rust: History suggest box for your shell
- Does anyone want to do a code review?
-
Show HN: History suggest box for your shell
hstr-rs is a shell history suggest box that provides quick access to the commands in your shell history. Just search for the command you want to execute (regex mode is supported), or, if you don't precisely know what you're looking for, you can browse through the commands until you find the one you want to execute. Apart from this, you can delete unwanted entries from your history, too, and more. It should work on all terminals ranging from linux term to xterm. It was initially made for bash but it should work as well with zsh, ksh, and tcsh, too.
I use it on a daily basis.
Check out the README for instructions if you want to try it out.
Suggestions, bug reports, etc. are welcome.
Let me know what you think:
https://github.com/adder46/hstr-rs
promkit
- [Release v0.2.0] promkit: A toolkit for building interactive command-line tools in Rust
- [Released] promkit v0.1.1: A toolkit for building interactive command-line tools in Rust
-
hstr-rs: A minimum hstr clone in Rust
Thanks for your comments. Yes, there were already hstr-like commands. But this implementation uses ynqa/promptio toolkit which I've recently released here, and I'd like to let you refer to this one as an example of this toolkit.
- promptio: A toolkit for building your own interactive command-line tools in Rust
What are some alternatives?
atuin - ✨ Magical shell history
dialoguer - Rust utility library for nice command line prompts and similar things
fzf - :cherry_blossom: A command-line fuzzy finder
inquire - A Rust library for building interactive prompts
peco - Simplistic interactive filtering tool
mcfly - Fly through your shell history. Great Scott!
zoxide - A smarter cd command. Supports all major shells.
cargo-qtest - an interactive test runner for rust projects
ble.sh - Bash Line Editor―a line editor written in pure Bash with syntax highlighting, auto suggestions, vim modes, etc. for Bash interactive sessions.
hstr-rs - A minimum hstr clone in Rust