1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-22 04:11:58 +00:00

Revert "Move custon *.zsh file sourcing up so that they can load plugins and other things that come after."

This reverts commit a28dbc8393.
This commit is contained in:
Marc Cornellà 2015-08-08 01:31:02 +02:00
parent 3d5b3430fd
commit 3fe3ce8bdc

View file

@ -29,11 +29,6 @@ for config_file ($ZSH/lib/*.zsh); do
source $config_file
done
# Load all of your custom configurations from custom/
for config_file ($ZSH_CUSTOM/*.zsh(N)); do
source $config_file
done
unset config_file
is_plugin() {
local base_dir=$1
@ -77,6 +72,12 @@ for plugin ($plugins); do
fi
done
# Load all of your custom configurations from custom/
for config_file ($ZSH_CUSTOM/*.zsh(N)); do
source $config_file
done
unset config_file
# Load the theme
if [ "$ZSH_THEME" = "random" ]; then
themes=($ZSH/themes/*zsh-theme)