From 18eaede408378fd499f8c36a5a101507ab5f460f Mon Sep 17 00:00:00 2001 From: Zifei Tong Date: Sat, 16 Oct 2010 02:46:14 +0800 Subject: [PATCH] Load all plugins from each plugin folder --- oh-my-zsh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index 848e48eb5..d5da0815a 100644 --- a/oh-my-zsh.sh +++ b/oh-my-zsh.sh @@ -12,7 +12,7 @@ for config_file ($ZSH/custom/*.zsh) source $config_file # Load all of the plugins that were defined in ~/.zshrc plugin=${plugin:=()} -for plugin ($plugins) source $ZSH/plugins/$plugin/$plugin.plugin.zsh +for plugin ($plugins) for plugin_file ($ZSH/plugins/$plugin/*.plugin.zsh) source $plugin_file # Check for updates on initial load... if [ "$DISABLE_AUTO_UPDATE" = "true" ]