Hacker News new | ask | show | jobs
by stoniejohnson 897 days ago
Yep, I do `history | grep "<whatever>"` all the time..

I should probably make it a function now that I think about it.

2 comments

Most of the shells have built-in recursive search, why not just use that? `Ctrl + R` in bash / fish / zsh at least.
i usually want to just see all the options at once and pick the one i want, rather than searching through them one by one
i called my function `fh` for "full history"