When the theme choice is left out, oh-my-zsh will not try to load it

master
Marius Ghita 15 years ago
parent ed990f61ff
commit 527355eae3
  1. 5
      oh-my-zsh.sh

@ -43,6 +43,9 @@ then
source "$RANDOM_THEME"
echo "[oh-my-zsh] Random theme '$RANDOM_THEME' loaded..."
else
source "$ZSH/themes/$ZSH_THEME.zsh-theme"
if [ ! "$ZSH_THEME" = "" ]
then
source "$ZSH/themes/$ZSH_THEME.zsh-theme"
fi
fi

Loading…
Cancel
Save