浏览代码

Move sourcing of custom to below plugins

Pat Regan 14 年之前
父节点
当前提交
58a7cf19b7
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      oh-my-zsh.sh

+ 3 - 3
oh-my-zsh.sh

@@ -15,9 +15,6 @@ for plugin ($plugins) fpath=($ZSH/plugins/$plugin $fpath)
 autoload -U compinit
 compinit -i
 
-# 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
 for plugin ($plugins); do
   if [ -f $ZSH/plugins/$plugin/$plugin.plugin.zsh ]; then
@@ -25,6 +22,9 @@ for plugin ($plugins); do
   fi
 done
 
+# Load all of your custom configurations from custom/
+for config_file ($ZSH/custom/*.zsh) source $config_file
+
 # Load the theme
 source "$ZSH/themes/$ZSH_THEME.zsh-theme"