Fixed path to custom folder for themes if ZSH_CUSTOM is set

This commit is contained in:
Robin Campbell Joy 2012-02-04 17:00:40 +01:00
commit 5a680ccabc

View file

@ -65,9 +65,9 @@ then
else
if [ ! "$ZSH_THEME" = "" ]
then
if [ -f "$ZSH/custom/$ZSH_THEME.zsh-theme" ]
if [ -f "$ZSH_CUSTOM/$ZSH_THEME.zsh-theme" ]
then
source "$ZSH/custom/$ZSH_THEME.zsh-theme"
source "$ZSH_CUSTOM/$ZSH_THEME.zsh-theme"
else
source "$ZSH/themes/$ZSH_THEME.zsh-theme"
fi