1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-20 04:40:08 +00:00

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 ed990f61ff
commit 527355eae3

View file

@ -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