4 ms·
I'd use "history | grep ..." at that point, if I can't remember an old command. Possibly "history | grep ... | less" and finish searching inside less.
by jlokier 4y ago
I'd use "history | grep ..." at that point, if I can't remember an old command. Possibly "history | grep ... | less" and finish searching inside less.
- d4rkp4ttern 4y agoI was doing history grep too until someone on HN told me about hstr: https://github.com/dvorka/hstr https://github.com/dvorka/hstr
- uneekname 4y agoAnother similar tool that may be of interest is mcfly https://github.com/cantino/mcfly https://github.com/cantino/mcfly