summaryrefslogtreecommitdiff
path: root/.zsh/zshrc
diff options
context:
space:
mode:
authorRené Neumann <rene.neumann@in.tum.de>2012-04-10 14:05:14 +0200
committerRené Neumann <rene.neumann@in.tum.de>2012-04-10 14:05:15 +0200
commit7ee73ef37f932f6fa1061ac3242d71e8c06287cc (patch)
tree4b580c174ead45da841fd54b2a0c2664a57f17bc /.zsh/zshrc
parent5d9a677dfdad31568045f00a351c2cbfdcddcd19 (diff)
downloaddotfiles-7ee73ef37f932f6fa1061ac3242d71e8c06287cc.tar.gz
dotfiles-7ee73ef37f932f6fa1061ac3242d71e8c06287cc.tar.bz2
dotfiles-7ee73ef37f932f6fa1061ac3242d71e8c06287cc.zip
fixes for zsh < 4.3.9
Diffstat (limited to '.zsh/zshrc')
-rw-r--r--.zsh/zshrc4
1 files changed, 2 insertions, 2 deletions
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