Created
March 1, 2015 07:32
-
-
Save Link-/c13d2e893b73384eae14 to your computer and use it in GitHub Desktop.
Up/Down history search
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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