Use history-beginning-search-* in zsh.

This commit is contained in:
Gea-Suan Lin
2014-04-22 20:22:08 +08:00
parent c5a807e2ed
commit 9c9aa372af

4
.zshrc
View File

@@ -66,8 +66,8 @@ 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-search-backward
bindkey "" history-search-forward
bindkey "" history-beginning-search-backward
bindkey "" history-beginning-search-forward
#
if [[ "`uname -s`" == "FreeBSD" || "`uname -s`" == "Darwin" ]]; then
alias "ls=/bin/ls -aFG"