Last active
October 1, 2015 08:56
-
-
Save eezis/c047ed59b1032d53c62a to your computer and use it in GitHub Desktop.
Incremental Search History for the OS X Terminal (type a partial command, up arrow / down arrow to search)
This file contains hidden or 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
#1. nano ~/.bash_profile | |
#2. add these two lines | |
bind '"\e[A": history-search-backward' | |
bind '"\e[B": history-search-forward' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment