limit syntax hilight to zsh >=437
authorJoerg Jaspert <joerg@debian.org>
Thu, 25 Apr 2013 14:00:14 +0000 (16:00 +0200)
committerJoerg Jaspert <joerg@debian.org>
Thu, 25 Apr 2013 14:00:14 +0000 (16:00 +0200)
.zsh/25_ZshHighlight.zsh

index a7b9122..a3cd9c7 100644 (file)
@@ -3,7 +3,7 @@
 # Use zsh syntax highlighting
 #
 
-if is434 && zstyle -T ':ganneff:config' zsh-syntax-hilight; then
+if is437 && zstyle -T ':ganneff:config' zsh-syntax-hilight; then
     if [ -d $ZDOTDIR/zsh-syntax-highlighting ]; then
            ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor)
            source $ZDOTDIR/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh