Skip to content

Instantly share code, notes, and snippets.

@snipe
Created April 17, 2013 16:44
Show Gist options
  • Save snipe/5405846 to your computer and use it in GitHub Desktop.
Save snipe/5405846 to your computer and use it in GitHub Desktop.
~/.inputrc for nice bash history up-arrows. 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 /". Create ~/.inputrc and fill it with this:
"\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