summaryrefslogtreecommitdiff
path: root/.zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zsh/zshrc')
-rw-r--r--.zsh/zshrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/.zsh/zshrc b/.zsh/zshrc
index a12f2dc..e61898a 100644
--- a/.zsh/zshrc
+++ b/.zsh/zshrc
@@ -1,3 +1,6 @@
+# provide the is-at-least command
+autoload is-at-least
+
# Alias definition {{{
#################################################
@@ -137,7 +140,7 @@ RPROMPT="%(?.%S%{$fg[green]%}:).%S%{$fg[red]%}:()%{$reset_color%}%s"
# vcs stuff for prompt
setopt prompt_subst
-if [[ $ZSH_VERSION == 4.3.<->* ]]; then
+if is-at-least 4.3; then
autoload -Uz vcs_info
zstyle ":vcs_info:*" enable bzr cvs svn git hg