"\e[A": history-search-backwardThis will let you, for example, type out 'mvn' and have bash autocomplete from history, the last maven incantation used.
"\e[B": history-search-forward
set completion-ignore-case on
Another neat trick is to add these two lines to your .profile:
export HISTCONTROL=ignoredupsThe first line will stop duplicate commands from cluttering up your history, and the second line will make sure that your history gets maintained between different sessions.
shopt -s histappend
