Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

autoload and use is-at-least.

  • Loading branch information...
commit 8bd7015f2838a1aa173a14bae56b992dbd6dad4a 1 parent 24869c0
@mattfoster mattfoster authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 rc
View
4 rc
@@ -99,7 +99,9 @@ bash_source /etc/bash_completion.d/ack-grep
autoload -Uz colors
colors
-if [[ $ZSH_VERSION > 4.3.6 ]]; then
+autoload -Uz is-at-least
+
+if is-at-least 4.3.6; then
autoload -Uz vcs_info
zstyle ':vcs_info:*' formats '%b '
zstyle ':vcs_info:(svn|bzr|cvs):*' branchformat '%b:%r'
Please sign in to comment.
Something went wrong with that request. Please try again.