diff --git a/.zsh/00_basic.zsh b/.zsh/00_basic.zsh index a84be23..dc0f3be 100644 --- a/.zsh/00_basic.zsh +++ b/.zsh/00_basic.zsh @@ -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