This is neat!
I've thought about doing something similar with my shell history to help me figure out which shell aliases I should create.
> I've thought about doing something similar with my shell history to help me figure out which shell aliases I should create.
Same here, I end up doing `h | grep "(something about the command)` a lot to get commands with specific options, etc. and think "damn i should really make an alias for this" every single time, but never get around to it
You might like Atuin*! It fuzzy searches your shell history + optionally syncs it between machines
https://github.com/atuinsh/atuin
*: shameless plug, I’m one of the maintainers