I use this in my bash_login (mac) to type a partial search and use the arrow keys (up and down) to search through the history related to the partial:
bind '"[A":history-search-backward'
bind '"[B":history-search-forward'
Achievements
29
Karma
543
Total ProTip Views
Charity
Fork and commit to someone's open source project in need
Raven
Have at least one original repo where some form of shell script is the dominant language
I use this in my bash_login (mac) to type a partial search and use the arrow keys (up and down) to search through the history related to the partial:
bind '"[A":history-search-backward'
bind '"[B":history-search-forward'