Hacker News new | ask | show | jobs
by patrickg 4620 days ago
bash: "\C-p": history-search-backward in ~/.inputrc
1 comments

Or in .bashrc:

bind "C-p":history-search-backward

bind "C-n":history-search-forward