summaryrefslogtreecommitdiff
path: root/.zsh/zshrc
diff options
context:
space:
mode:
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