From 78eecd42eea48e0c11cdad928f8e7386a6597ef1 Mon Sep 17 00:00:00 2001 From: Xin Huang Date: Tue, 14 Mar 2017 17:07:07 -0700 Subject: [PATCH] Source custom files last to allow simple modification to prompts can be done by appending --- oh-my-zsh.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index a7de646f..8f543fa1 100644 --- a/oh-my-zsh.sh +++ b/oh-my-zsh.sh @@ -86,12 +86,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) @@ -111,3 +105,9 @@ else fi fi fi + +# Load all of your custom configurations from custom/ +for config_file ($ZSH_CUSTOM/*.zsh(N)); do + source $config_file +done +unset config_file