Moved the plugin fpath loop and compinit so they happen before custom scripts are loaded.
Diff
1diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh
2index 0c85de714aa84c86cbc0869875c3915f9d90c7fe..ad4b268ae177043a5b89926d6a0b15de2b50caa4 100644
3--- a/oh-my-zsh.sh
4+++ b/oh-my-zsh.sh
5@@ -7,9 +7,6 @@ fpath=($ZSH/functions $fpath)
6 # TIP: Add files you don't want in git to .gitignore
7 for config_file ($ZSH/lib/*.zsh) source $config_file
8 9-# Load all of your custom configurations from custom/
10-for config_file ($ZSH/custom/*.zsh) source $config_file
11-
12 # Add all defined plugins to fpath
13 plugin=${plugin:=()}
14 for plugin ($plugins) fpath=($ZSH/plugins/$plugin $fpath)
15@@ -18,6 +15,9 @@ for plugin ($plugins) fpath=($ZSH/plugins/$plugin $fpath)
16 autoload -U compinit
17 compinit -i
1819+# Load all of your custom configurations from custom/
20+for config_file ($ZSH/custom/*.zsh) source $config_file
21+
22 # Load all of the plugins that were defined in ~/.zshrc
23 for plugin ($plugins)
24 do