Created
July 21, 2019 13:55
-
-
Save wildzyzop/d6e26b4e41806f1c8ae3d8dfaebd25e3 to your computer and use it in GitHub Desktop.
Bash search in history with arrows
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
| # search in history with arrows | |
| bind '"\e[A": history-search-backward' 2>/dev/null | |
| bind '"\e[B": history-search-forward' 2>/dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment