Browse code

First search in the custom folder for the theme

fceccon authored on 20/09/2011 at 10:04:06
Showing 1 changed files
... ...
@@ -45,7 +45,12 @@ then
45 45
 else
46 46
   if [ ! "$ZSH_THEME" = ""  ]
47 47
   then
48
-    source "$ZSH/themes/$ZSH_THEME.zsh-theme"
48
+    if [ -f "$ZSH/custom/$ZSH_THEME.zsh-theme" ]
49
+    then
50
+      source "$ZSH/custom/$ZSH_THEME.zsh-theme"
51
+    else
52
+      source "$ZSH/themes/$ZSH_THEME.zsh-theme"
53
+    fi
49 54
   fi
50 55
 fi
51 56