Permalink
Browse files

Make readline up/down match on partial commands

  • Loading branch information...
1 parent 226f880 commit 5cbbd1e1a18f0e3426035247d1cc0132961c98ef @bcat committed Apr 15, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 inputrc
View
@@ -0,0 +1,6 @@
+# Include the system's readline configuration.
+$include /etc/inputrc
+
+# Make the up and down arrow keys match on partially typed commands.
+"\e[A": history-search-backward
+"\e[B": history-search-forward

0 comments on commit 5cbbd1e

Please sign in to comment.