Skip to content

Instantly share code, notes, and snippets.

@Link-
Created March 1, 2015 07:32
Show Gist options
  • Save Link-/c13d2e893b73384eae14 to your computer and use it in GitHub Desktop.
Save Link-/c13d2e893b73384eae14 to your computer and use it in GitHub Desktop.
Up/Down history search
# Create ~/.inputrc file and paste
# this in it
"\e[A": history-search-backward
"\e[B": history-search-forward
# Example:
# cd+UP : will return all previous cd commands
# and paramters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment