Browse Source

Merge pull request #429 from mhitza/master

Optional themes
Robby Russell 13 years ago
parent
commit
3552423de3
1 changed files with 4 additions and 1 deletions
  1. 4 1
      oh-my-zsh.sh

+ 4 - 1
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