Skip to content

Commit

Permalink
Merge pull request ohmyzsh#618 from fceccon/custom-theme
Browse files Browse the repository at this point in the history
Use a custom version of a theme if the user has it
  • Loading branch information
robbyrussell committed Dec 26, 2011
2 parents 480d124 + 2ca2ad3 commit 8bc6082
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 @@ -59,7 +59,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 8bc6082

Please sign in to comment.