diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index 7f78e414..bc720b84 100644 --- a/oh-my-zsh.sh +++ b/oh-my-zsh.sh @@ -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 if [[ "${(t)ZSH_THEME_RANDOM_CANDIDATES}" = "array" ]] && [[ "${#ZSH_THEME_RANDOM_CANDIDATES[@]}" -gt 0 ]]; then @@ -115,3 +109,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