use globs to recusively source plugins in $ZSH_CUSTOM

This commit is contained in:
Alex Flores 2016-07-01 17:55:24 -04:00
commit a446e9c12c
No known key found for this signature in database
GPG key ID: 3B3E8701E281A74B

View file

@ -87,7 +87,7 @@ for plugin ($plugins); do
done done
# Load all of your custom configurations from custom/ # Load all of your custom configurations from custom/
for config_file ($ZSH_CUSTOM/*.zsh(N)); do for config_file ($ZSH_CUSTOM/**/*.zsh(N)); do
source $config_file source $config_file
done done
unset config_file unset config_file