load custom themes from $ZSH_CUSTOM instead of $ZSH/custom

This commit is contained in:
Patrick Oscity 2012-05-03 22:12:46 +03:00
commit d3b4dcf867

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