Y
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
_kblcuk_
897 days ago
Most of the shells have built-in recursive search, why not just use that? `Ctrl + R` in bash / fish / zsh at least.
link
zem
897 days ago
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
link
zem
897 days ago
i called my function `fh` for "full history"
link