respect the convetion

Respect the convention and search for theme in $ZSH_CUSTOM/themes/
This commit is contained in:
chazzbg 2014-11-22 20:43:42 +02:00
commit 5dcbd65dfa

View file

@ -11,6 +11,9 @@ function theme
if [ -f "$ZSH_CUSTOM/$1.zsh-theme" ]
then
source "$ZSH_CUSTOM/$1.zsh-theme"
elif [ -f "$ZSH_CUSTOM/themes/$1.zsh-theme" ]
then
source "$ZSH_CUSTOM/themes/$1.zsh-theme"
else
source "$ZSH/themes/$1.zsh-theme"
fi