3 ms·
> either up-arrowing until I found the last time I ran tests just as a substitute for up-arrowing, have you tried ctrl-r/reverse-i-search? (if that's a thing i
by Felk 6y ago
> either up-arrowing until I found the last time I ran tests
just as a substitute for up-arrowing, have you tried ctrl-r/reverse-i-search? (if that's a thing in fishshell)
edit: I see wodenokoto already mentioned this workflow in another comment
- simongr3dal 6y agoin fish you can type some of the command and arrow-up. It will show only commands containing that substring.
- frutiger 6y agoSo does libreadline (and therefore bash). The following in ~/.inputrc does the trick for vi mode users: k: history-search-backward j: history-search-forward There is an equivalent for emacs mode.
- jonfw 6y agoCheck out FZF for fuzzy finding through your command history in this manner- it is absolutely the superior way to search command history
- Macha 6y agoIf you type before up arrowing this is what the up arrow does in fish