Commit 527355ea authored by Marius Ghita's avatar Marius Ghita
Browse files

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

parent ed990f61
...@@ -43,6 +43,9 @@ then ...@@ -43,6 +43,9 @@ then
source "$RANDOM_THEME" source "$RANDOM_THEME"
echo "[oh-my-zsh] Random theme '$RANDOM_THEME' loaded..." echo "[oh-my-zsh] Random theme '$RANDOM_THEME' loaded..."
else else
source "$ZSH/themes/$ZSH_THEME.zsh-theme" if [ ! "$ZSH_THEME" = "" ]
then
source "$ZSH/themes/$ZSH_THEME.zsh-theme"
fi
fi fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment