Permalink
Browse files

First search in the custom folder for the theme

  • Loading branch information...
1 parent 762b55b commit 2ca2ad3fc5b8635b22d33fd0f1c1511f44e9fff8 @fracek fracek committed Sep 20, 2011
Showing with 6 additions and 1 deletion.
  1. +6 −1 oh-my-zsh.sh
View
@@ -45,7 +45,12 @@ then
else
if [ ! "$ZSH_THEME" = "" ]
then
- source "$ZSH/themes/$ZSH_THEME.zsh-theme"
+ if [ -f "$ZSH/custom/$ZSH_THEME.zsh-theme" ]
+ then
+ source "$ZSH/custom/$ZSH_THEME.zsh-theme"
+ else
+ source "$ZSH/themes/$ZSH_THEME.zsh-theme"
+ fi
fi
fi

0 comments on commit 2ca2ad3

Please sign in to comment.