diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index c4522491b..ef66e23f1 100644 --- a/oh-my-zsh.sh +++ b/oh-my-zsh.sh @@ -31,7 +31,9 @@ for plugin ($plugins); do done # Load all of your custom configurations from custom/ -for config_file ($ZSH/custom/*.zsh) source $config_file +if [ -d "$ZSH/custom" ]; then + for config_file ($ZSH/custom/*.zsh) source $config_file +fi # Load the theme if [ "$ZSH_THEME" = "random" ]