Skip to content

Instantly share code, notes, and snippets.

@jose8a
Created April 18, 2013 03:56
Show Gist options
  • Select an option

  • Save jose8a/5409993 to your computer and use it in GitHub Desktop.

Select an option

Save jose8a/5409993 to your computer and use it in GitHub Desktop.
The single most useful thing in bash (from Coderwall user Jude Robinson)
#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
#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 /".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment