Created
June 5, 2019 08:11
-
-
Save ralex/50b6b74504f5177bfbfc8bfd269b3c8a to your computer and use it in GitHub Desktop.
Bash history on partial data input
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
# Put this in ~/.inputrc | |
# Then type "ssh" + ↑ or ↓ to get your latest ssh connections | |
# arrow up | |
"\e[A":history-search-backward | |
# arrow down | |
"\e[B":history-search-forward |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment