added .inputrc

This commit is contained in:
Josh Holtrop 2010-07-21 12:29:38 -04:00
parent dde7e35420
commit 4bd84d3f2c

13
.inputrc Normal file
View File

@ -0,0 +1,13 @@
$include /etc/inputrc
# These two lines allow page-up and page-down to
# search through the history matching previously
# executed commands that start with the prefix that
# the user has currently typed into the input buffer
"\e[5~": history-search-backward
"\e[6~": history-search-forward
# F1 -> clear screen
"\eOP": "clear\n"
# F4
"\eOS": "{h,cc}"