3 ms·
Not sure if that's what you want, but have you tried this in your .inputrc? "\e[B": history-search-forward "\e[A": history-search-backward
by tambourine_man 13y ago
Not sure if that's what you want, but have you tried this in your .inputrc?
"\e[B": history-search-forward
"\e[A": history-search-backward
- lignuist 13y agoLooks interesting. How would I use that afterwards?
- bretthoerner 13y agoType, say, 's' and then press your up arrow.
- JelteF 13y agoYou can also put this in your bashrc: bind '"\e[A":history-search-backward' bind '"\e[B":history-search-forward' It's one of the things I always tell people to use since it makes using bash so much easier.