Source custom files last

to allow simple modification to prompts can be done by appending
This commit is contained in:
Xin Huang 2017-03-14 17:07:07 -07:00 committed by GitHub
parent b908feebcf
commit 78eecd42ee

View File

@ -86,12 +86,6 @@ 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)
@ -111,3 +105,9 @@ else
fi
fi
fi
# Load all of your custom configurations from custom/
for config_file ($ZSH_CUSTOM/*.zsh(N)); do
source $config_file
done
unset config_file