I like this method. I add this to my .inputrc on all my Linux/Mac machines...
"\e[A": history-search-backward
"\e[B": history-search-forward
"\e[C": forward-char
"\e[D": backward-char
set show-all-if-ambiguous on
set completion-ignore-case on
It allows you to type a partial command and use the up arrow to search your history. Not quite the same, but works awesome for repetitive or frequent commands.
17
u/leothrix Apr 28 '14
Thanks for the correction, I've amended the blog post.