I may have broken plugin loading. This should restore it. It will load a plugin out of ~/.omz first and if its not there /usr/share/oh-my-zsh

This commit is contained in:
Simon Gomizelj 2011-11-29 07:30:09 -05:00
commit 45b9fb9b07

View file

@ -22,6 +22,15 @@ if [[ -d ~/.omz ]]; then
fi
fi
# load plugins
for plugin ($plugins); do
if [[ -f ~/.omz/plugins/$plugin/$plugin.plugin.zsh ]]; then
source ~/.omz/plugins/$plugin/$plugin.plugin.zsh
elif [[ -f $ZSH/plugins/$plugin/$plugin.plugin.zsh ]]; then
source $ZSH/plugins/$plugin/$plugin.plugin.zsh
fi
done
# Load and run compinit
autoload -U compinit
compinit -i