mirror of https://github.com/ohmyzsh/ohmyzsh.git
First search in the custom folder for the theme
This commit is contained in:
parent
762b55bb2b
commit
2ca2ad3fc5
|
@ -45,7 +45,12 @@ then
|
||||||
else
|
else
|
||||||
if [ ! "$ZSH_THEME" = "" ]
|
if [ ! "$ZSH_THEME" = "" ]
|
||||||
then
|
then
|
||||||
|
if [ -f "$ZSH/custom/$ZSH_THEME.zsh-theme" ]
|
||||||
|
then
|
||||||
|
source "$ZSH/custom/$ZSH_THEME.zsh-theme"
|
||||||
|
else
|
||||||
source "$ZSH/themes/$ZSH_THEME.zsh-theme"
|
source "$ZSH/themes/$ZSH_THEME.zsh-theme"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue