Skip to content

Commit

Permalink
First search in the custom folder for the theme
Browse files Browse the repository at this point in the history
  • Loading branch information
fracek committed Sep 20, 2011
1 parent 762b55b commit 2ca2ad3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion oh-my-zsh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.