.inputrc
changeset 160 d45758677427
parent 159 022803a4d179
child 169 3379424b5448
--- a/.inputrc	Mon Aug 01 14:53:01 2011 +0300
+++ b/.inputrc	Fri Aug 05 18:22:02 2011 +0300
@@ -78,6 +78,12 @@
 "\e[3;5~": kill-word
 "\C-_": backward-kill-word
 
+# UP/DOWN filter history by typed string as prefix.
+"\e[A": history-search-backward
+"\C-p": history-search-backward
+"\e[B": history-search-forward
+"\C-n": history-search-forward
+
 # Local Variables:
 # mode: shell-script
 # fill-column: 78