Browse code

Merge pull request #429 from mhitza/master

Optional themes

Robby Russell authored on 20/06/2011 at 08:28:34
Showing 1 changed files
... ...
@@ -43,6 +43,9 @@ then
43 43
   source "$RANDOM_THEME"
44 44
   echo "[oh-my-zsh] Random theme '$RANDOM_THEME' loaded..."
45 45
 else
46
-  source "$ZSH/themes/$ZSH_THEME.zsh-theme"
46
+  if [ ! "$ZSH_THEME" = ""  ]
47
+  then
48
+    source "$ZSH/themes/$ZSH_THEME.zsh-theme"
49
+  fi
47 50
 fi
48 51