diff options
author | Robby Russell <robby@planetargon.com> | 2010-06-03 12:03:26 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2010-06-03 12:03:26 -0700 |
commit | 3cf9ab722e7c0829727f548c7d05a0d96055f707 (patch) | |
tree | 775b6b98d54bcbdf5158786e4c1c53f3d9494261 /oh-my-zsh.sh | |
parent | eb0f3c0234e88bbbf5ca014ace8d8d801207c222 (diff) | |
download | zsh-3cf9ab722e7c0829727f548c7d05a0d96055f707.tar.gz zsh-3cf9ab722e7c0829727f548c7d05a0d96055f707.tar.bz2 zsh-3cf9ab722e7c0829727f548c7d05a0d96055f707.zip |
Initial implementation of a new plugin system, so that people can managed which aliases/functions they want.
Diffstat (limited to 'oh-my-zsh.sh')
-rw-r--r-- | oh-my-zsh.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index a41f3d89e..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 |