Use Arrow for nagivate into history
This commit is contained in:
parent
58fd4cad4c
commit
d56a6ff7ee
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user