Use Arrow for nagivate into history

This commit is contained in:
Mathieu Maret 2010-11-24 17:52:25 +01:00
parent 58fd4cad4c
commit d56a6ff7ee

View File

@ -11,6 +11,12 @@ setopt -h histappend
PROMPT_COMMAND='history -a'
setopt append_history autocd extendedglob nomatch
#Doing this, only past commands beginning with the current input would've been shown.
bindkey "^[[A" history-search-backward
bindkey "^[[B" history-search-forward
unsetopt beep
#force emacs binding for tmux && screen
bindkey -e