Allow loading themes from $ZSH_CUSTOM/themes/

This commit is contained in:
Scott Sanders 2011-12-17 18:04:59 -05:00
commit 342e324e60

View file

@ -59,7 +59,11 @@ then
else else
if [ ! "$ZSH_THEME" = "" ] if [ ! "$ZSH_THEME" = "" ]
then then
source "$ZSH/themes/$ZSH_THEME.zsh-theme" if [ -f "$ZSH_CUSTOM/themes/$ZSH_THEME.zsh-theme" ]; then
source "$ZSH_CUSTOM/themes/$ZSH_THEME.zsh-theme"
else
source "$ZSH/themes/$ZSH_THEME.zsh-theme"
fi
fi fi
fi fi