From 79732d0199de1129eca4d286f84133197baef4f7 Mon Sep 17 00:00:00 2001 From: Mateusz Lenik Date: Wed, 30 May 2012 17:36:38 +0200 Subject: [PATCH] Load CUSTOM before plugins --- oh-my-zsh.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index c2b6049cb..0d14b8c95 100644 --- a/oh-my-zsh.sh +++ b/oh-my-zsh.sh @@ -40,6 +40,8 @@ done autoload -U compinit compinit -i +# Load all of your custom configurations from custom/ +for config_file ($ZSH_CUSTOM/*.zsh(.N)) source $config_file # Load all of the plugins that were defined in ~/.zshrc for plugin ($plugins); do @@ -50,9 +52,6 @@ for plugin ($plugins); do fi done -# Load all of your custom configurations from custom/ -for config_file ($ZSH_CUSTOM/*.zsh(.N)) source $config_file - # Load the theme if [ "$ZSH_THEME" = "random" ] then