Custom plugins weren't being added to the fpath correctly.
| ... | ... | @@ -13,9 +13,16 @@ fpath=($ZSH/functions $ZSH/completions $fpath) | 
| 13 | 13 | # TIP: Add files you don't want in git to .gitignore | 
| 14 | 14 | for config_file ($ZSH/lib/*.zsh) source $config_file | 
| 15 | 15 |  | 
| 16 | -# Add all defined plugins to fpath | |
| 16 | +# Add all defined plugins to fpath. This must be done | |
| 17 | +# before running compinit. | |
| 17 | 18 |  plugin=${plugin:=()} | 
| 18 | -for plugin ($plugins) fpath=($ZSH/plugins/$plugin $fpath) | |
| 19 | +for plugin ($plugins); do | |
| 20 | + if [ -f $ZSH_CUSTOM/plugins/$plugin/$plugin.plugin.zsh ]; then | |
| 21 | + fpath=($ZSH_CUSTOM/plugins/$plugin $fpath) | |
| 22 | + elif [ -f $ZSH/plugins/$plugin/$plugin.plugin.zsh ]; then | |
| 23 | + fpath=($ZSH/plugins/$plugin $fpath) | |
| 24 | + fi | |
| 25 | +done | |
| 19 | 26 |  | 
| 20 | 27 | # Load and run compinit | 
| 21 | 28 | autoload -U compinit |