Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
carapace
5y ago
0 comments
Save
Share
It seems like a toy compared to most of the other tools in this thread, but FWIW I have a little script I call "did":
grep "$1" ~/.bash_history | tail
It just shows me the last ten commands that include a search term. E.g. "did foo" shows the last ten commands that include "foo".
0 comments
2 comments · 1 top-level
top
newest
oldest
sirwitti
5y ago
· 1 in thread
This is going straight into my bash_aliases. Thanks!
carapace
OP
5y ago
Cheers! :)
j
/
k
navigate · click thread line to collapse