Skip to content

Instantly share code, notes, and snippets.

@daleobrien
Created April 17, 2013 22:34
Show Gist options
  • Save daleobrien/5408330 to your computer and use it in GitHub Desktop.
Save daleobrien/5408330 to your computer and use it in GitHub Desktop.
This allows you 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