From 7ee73ef37f932f6fa1061ac3242d71e8c06287cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Neumann?= Date: Tue, 10 Apr 2012 14:05:14 +0200 Subject: fixes for zsh < 4.3.9 --- .zsh/zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.zsh/zshrc') diff --git a/.zsh/zshrc b/.zsh/zshrc index a08c4eb..4898a4f 100644 --- a/.zsh/zshrc +++ b/.zsh/zshrc @@ -136,7 +136,7 @@ RPROMPT="%(?.%S%{$fg[green]%}:).%S%{$fg[red]%}:()%{$reset_color%}%s" # vcs stuff for prompt setopt prompt_subst -if is-at-least 4.3; then +if is-at-least 4.3.9; then autoload -Uz vcs_info zstyle ":vcs_info:*" enable bzr cvs svn git hg @@ -187,7 +187,7 @@ esac # Key bindings {{{ ################################################# bindkey -e # use emacs style :) -if [[ $ZSH_VERSION == 4.3.* ]]; then +if is-at-least 4.3.9; then bindkey "^R" history-incremental-pattern-search-backward bindkey "^S" history-incremental-pattern-search-forward else -- cgit v1.2.3