Load CUSTOM before plugins

This commit is contained in:
Mateusz Lenik 2012-05-30 17:36:38 +02:00
commit 79732d0199

View file

@ -40,6 +40,8 @@ done
autoload -U compinit
compinit -i
# Load all of your custom configurations from custom/
for config_file ($ZSH_CUSTOM/*.zsh(.N)) source $config_file
# Load all of the plugins that were defined in ~/.zshrc
for plugin ($plugins); do
@ -50,9 +52,6 @@ for plugin ($plugins); do
fi
done
# Load all of your custom configurations from custom/
for config_file ($ZSH_CUSTOM/*.zsh(.N)) source $config_file
# Load the theme
if [ "$ZSH_THEME" = "random" ]
then