Revert "Move custon *.zsh file sourcing up so that they can load plugins and other things that come after."
This reverts commit a28dbc83937cbe624ec726199b4bbe7b65b2b2a0.
Diff
1diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh
2index ec64c240f0203b64b1d32fe6da2ae657e93329f1..4e5f77990dd567ca1495ed2af948473609ed1bfe 100644
3--- a/oh-my-zsh.sh
4+++ b/oh-my-zsh.sh
5@@ -29,11 +29,6 @@ for config_file ($ZSH/lib/*.zsh); do
6 source $config_file
7 done
8 9-# Load all of your custom configurations from custom/
10-for config_file ($ZSH_CUSTOM/*.zsh(N)); do
11- source $config_file
12-done
13-unset config_file
1415 is_plugin() {
16 local base_dir=$1
17@@ -77,6 +72,12 @@ for plugin ($plugins); do
18 fi
19 done
2021+# Load all of your custom configurations from custom/
22+for config_file ($ZSH_CUSTOM/*.zsh(N)); do
23+ source $config_file
24+done
25+unset config_file
26+
27 # Load the theme
28 if [ "$ZSH_THEME" = "random" ]; then
29 themes=($ZSH/themes/*zsh-theme)