mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 09:51:44 +08:00
Load themes from $ZSH_CUSTOM
instead of $ZSH/custom
This seems like a simple oversight, everything else uses `$ZSH_CUSTOM` rather than `$ZSH/custom`.
This commit is contained in:
parent
51c55ad17e
commit
f9018c5efb
|
@ -65,12 +65,11 @@ 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
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user