diff options
author | Matthew Hager <matthew@poeticsystems.com> | 2015-02-21 12:33:38 -0600 |
---|---|---|
committer | ncanceill <nicolas.canceill@ens-cachan.org> | 2015-06-10 14:36:54 +0200 |
commit | a28dbc83937cbe624ec726199b4bbe7b65b2b2a0 (patch) | |
tree | 7683e086021541aaed0808d99e7d89afd5519771 /oh-my-zsh.sh | |
parent | 8652fd64efe7bcf950494856fd10ef1f5627a9ea (diff) | |
download | zsh-a28dbc83937cbe624ec726199b4bbe7b65b2b2a0.tar.gz zsh-a28dbc83937cbe624ec726199b4bbe7b65b2b2a0.tar.bz2 zsh-a28dbc83937cbe624ec726199b4bbe7b65b2b2a0.zip |
Move custon *.zsh file sourcing up so that they can load plugins and other things that come after.
Diffstat (limited to 'oh-my-zsh.sh')
-rw-r--r-- | oh-my-zsh.sh | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index bc7a8e496..71716f77f 100644 --- a/oh-my-zsh.sh +++ b/oh-my-zsh.sh @@ -29,6 +29,11 @@ for config_file ($ZSH/lib/*.zsh); do source $config_file done +# Load all of your custom configurations from custom/ +for config_file ($ZSH_CUSTOM/*.zsh(N)); do + source $config_file +done +unset config_file is_plugin() { local base_dir=$1 @@ -72,12 +77,6 @@ for plugin ($plugins); do fi done -# Load all of your custom configurations from custom/ -for config_file ($ZSH_CUSTOM/*.zsh(N)); do - source $config_file -done -unset config_file - # Load the theme if [ "$ZSH_THEME" = "random" ]; then themes=($ZSH/themes/*zsh-theme) |