]> Sergey Matveev's repositories - zsh-autoenv.git/commitdiff
Fix autoloading of colors; just once
authorDaniel Hahler <git@thequod.de>
Tue, 9 Dec 2014 23:09:04 +0000 (00:09 +0100)
committerDaniel Hahler <git@thequod.de>
Tue, 9 Dec 2014 23:09:04 +0000 (00:09 +0100)
autoenv.zsh

index 83875584b204bb0cc1e3bf53decc56e0c1664902..bfd93474506e82e2c1733cd11fb4a742d748cac6 100644 (file)
@@ -99,7 +99,7 @@ _autoenv_debug() {
     return
   fi
   # Load zsh color support.
-  if [[ -z $colors ]]; then
+  if [[ -z $color ]]; then
     autoload colors
     colors
   fi