Skip to content

Instantly share code, notes, and snippets.

@imightbeamy
Created November 4, 2015 20:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imightbeamy/5d843cfa49fdd6539450 to your computer and use it in GitHub Desktop.
Save imightbeamy/5d843cfa49fdd6539450 to your computer and use it in GitHub Desktop.
Arrow Key history search for bash
"\e[A": history-search-backward
"\e[B": history-search-forward
set show-all-if-ambiguous on
set completion-ignore-case on
TAB: menu-complete
@imightbeamy
Copy link
Author

Save this file to your home dir to use it:
curl -O https://gist.githubusercontent.com/imightbeamy/5d843cfa49fdd6539450/raw/33173a324fbb75f770b0e61acc58a595318fe0a2/.inputrc

User Ctrl+x, Ctrl+r to re-read ~/.inputrc, or restart your terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment