Closed SteVwonder closed 4 years ago
All of my history is currently stored in ~/.history. It would be nice to have an easy way to search it. Currently this requires typing grep -R "my_regex" ~/.history/year/month/day. Even something like hist "my_regex" year/month/day would be better.
~/.history
grep -R "my_regex" ~/.history/year/month/day
hist "my_regex" year/month/day
Bonus points: using ripgrep if its available
Alternatives:
All of my history is currently stored in
~/.history
. It would be nice to have an easy way to search it. Currently this requires typinggrep -R "my_regex" ~/.history/year/month/day
. Even something likehist "my_regex" year/month/day
would be better.Bonus points: using ripgrep if its available
Alternatives: