3 ms·
$ cat ~/.inputrc "\e[A": history-search-backward "\e[B": history-search-forward This means that I can type the first couple of letters of a command, a
by TRiG_Ireland 3y ago
$ cat ~/.inputrc
"\e[A": history-search-backward
"\e[B": history-search-forward
This means that I can type the first couple of letters of a command, and then use the up and down arrow keys to cycle through history to search the rest of it. It makes life simpler for me, and confuses me only on the occasions when I've used `git stash`, so `git status` doesn't appear when I expect it to.
- post-it 3y agofish shell does this by default, and also autocompletes commands from your history. I highly recommend it.