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

This commit is contained in:
Marius Ghita 2011-06-15 01:17:22 +03:00
parent 5ab16a44f5
commit a876f3e920

View File

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