Skip to content

Instantly share code, notes, and snippets.

@ozh
Created April 17, 2013 19:13
Show Gist options
  • Save ozh/5406908 to your computer and use it in GitHub Desktop.
Save ozh/5406908 to your computer and use it in GitHub Desktop.
Create ~/.inputrc and fill it with this. Allows to search through your history using the up and down arrows … i.e. type "cd /" and press the up arrow and you'll search through everything in your history that starts with "cd /".
"\e[A": history-search-backward
"\e[B": history-search-forward
set show-all-if-ambiguous on
set completion-ignore-case on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment