summaryrefslogtreecommitdiff
path: root/.zsh/zshrc
diff options
context:
space:
mode:
authorRené Neumann <rene.neumann@in.tum.de>2012-02-23 19:02:25 +0100
committerRené Neumann <rene.neumann@in.tum.de>2012-02-23 19:02:26 +0100
commit1c7cc1c8293a2243d9f41a03f2401e793bf1a4f2 (patch)
tree96ad0bcbd212f5db1fc15063d5a18d79aa58e8aa /.zsh/zshrc
parentc538380ef3915c9c1adc036fc8d2292331898fc9 (diff)
downloaddotfiles-1c7cc1c8293a2243d9f41a03f2401e793bf1a4f2.tar.gz
dotfiles-1c7cc1c8293a2243d9f41a03f2401e793bf1a4f2.tar.bz2
dotfiles-1c7cc1c8293a2243d9f41a03f2401e793bf1a4f2.zip
Port cci to new stgit version
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