Browse Source

Merge pull request #1569 from ZeroKnight/master

Better custom theme loading
Robby Russell 12 years ago
parent
commit
e4891c5891
1 changed files with 3 additions and 0 deletions
  1. 3 0
      oh-my-zsh.sh

+ 3 - 0
oh-my-zsh.sh

@@ -73,6 +73,9 @@ else
     if [ -f "$ZSH_CUSTOM/$ZSH_THEME.zsh-theme" ]
     then
       source "$ZSH_CUSTOM/$ZSH_THEME.zsh-theme"
+    elif [ -f "$ZSH_CUSTOM/themes/$ZSH_THEME.zsh-theme" ]
+    then
+      source "$ZSH_CUSTOM/themes/$ZSH_THEME.zsh-theme"
     else
       source "$ZSH/themes/$ZSH_THEME.zsh-theme"
     fi