Page 1 of 1

bash history search function

Posted: 23. Oct 2009, 17:34
by thenktor
I think it is very helpful to have a nice bash history search und page up/down keys. To enable this insert in your /etc/inputrc (replace the existing \e[5~ and \e[6~ lines):

Code: Select all

"\e[5~": history-search-backward
"\e[6~": history-search-forward