From: Daniel Hahler Date: Tue, 9 Dec 2014 23:09:04 +0000 (+0100) Subject: Fix autoloading of colors; just once X-Git-Url: http://www.git.stargrave.org/?p=zsh-autoenv.git;a=commitdiff_plain;h=1219d83c51e36d31741f7cc634b56b66a75a64bf Fix autoloading of colors; just once --- diff --git a/autoenv.zsh b/autoenv.zsh index 8387558..bfd9347 100644 --- a/autoenv.zsh +++ b/autoenv.zsh @@ -99,7 +99,7 @@ _autoenv_debug() { return fi # Load zsh color support. - if [[ -z $colors ]]; then + if [[ -z $color ]]; then autoload colors colors fi