https://github.com/will-x86/iff
Today I set myself a simple task, create a tool where I can find old commands. Primarily because I can never remember if it’s:
curl 'https://api.ipify.org?format=json
or
curl 'https://ipify.org/api?format=json
So I figured why not make a tool to not forget.
It’s written in rust(btw) and uses ratatui and clap.
The process is:
- Take input command
- Search bash / zsh history
- Search for any matches
- Allow for searching
- Upon selection, run the command :)
I’m sure I can use autocomplete, but I figured it’d be a nice opportunity to use ratatui.
My only critique of ratatui is having main branch examples not being the cargo version.It’s mildly annoying.
I’ve had this problem with esp-idf before, where I was using X.XX.B and the branch was X.XX.A. Skill issue I guess.
Anyway, it’s on the AUR/Cargo, you can install it via:
cargo install ifff
or
yay -S iff

Lastly, if you’re wondering what iff stands for, it’s “I fucking forgot”. Because.. I’m a child