diff --git a/.zshrc b/.zshrc index f23cc0b..fcfa027 100644 --- a/.zshrc +++ b/.zshrc @@ -66,8 +66,11 @@ key[PageUp]=${terminfo[kpp]} [[ -n "${key[PageDown]}" ]] && bindkey "${key[PageDown]}" end-of-buffer-or-history [[ -n "${key[PageUp]}" ]] && bindkey "${key[PageUp]}" beginning-of-buffer-or-history # -bindkey "" history-beginning-search-backward -bindkey "" history-beginning-search-forward +autoload -Uz history-search-end +zle -N history-beginning-search-backward-end history-search-end +zle -N history-beginning-search-forward-end history-search-end +bindkey "" history-beginning-search-backward-end +bindkey "" history-beginning-search-forward-end # if [[ "`uname -s`" == "FreeBSD" || "`uname -s`" == "Darwin" ]]; then alias "ls=/bin/ls -aFG"