summaryrefslogtreecommitdiff
path: root/oh-my-zsh.sh
diff options
context:
space:
mode:
Diffstat (limited to 'oh-my-zsh.sh')
-rw-r--r--oh-my-zsh.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh
index fa2738e18..bb45c71eb 100644
--- a/oh-my-zsh.sh
+++ b/oh-my-zsh.sh
@@ -10,6 +10,10 @@ for config_file ($ZSH/lib/*.zsh) source $config_file
# Load all of your custom configurations from custom/
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.zsh
+
# Check for updates on initial load...
if [ "$DISABLE_AUTO_UPDATE" = "true" ]
then
@@ -17,3 +21,5 @@ then
else
/usr/bin/env zsh $ZSH/tools/check_for_upgrade.sh
fi
+
+unset config_file \ No newline at end of file