summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oh-my-zsh.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh
index d72d90cf9..c4522491b 100644
--- a/oh-my-zsh.sh
+++ b/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