Use 'loaded', not 'enable', for loaded plugins

This commit is contained in:
Sorin Ionescu 2012-04-02 11:39:05 -04:00
parent 1c4c66c448
commit ac43866f1d

View file

@ -70,7 +70,7 @@ for plugin in "$plugins[@]"; do
fi
if (( $? == 0 )); then
zstyle ":omz:plugin:$plugin" enable 'yes'
zstyle ":omz:plugin:$plugin" loaded 'yes'
fi
done
unset plugin plugins