Thursday, June 3, 2010

Enable History Search Using PgUp and PgDown

Want to be able to grep your .bash_history inline? Here's how:
#gedit ~/.inputrc
Add the following lines:
"\e[5~": history-search-backward
"\e[6~": history-search-forward
Check out /etc/inputrc for other similar bash input tricks you can add
to your .inputrc.

No comments:

Post a Comment

AddThis

Bookmark and Share