mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-27 02:00:18 +08:00
Merge pull request #618 from fceccon/custom-theme
Use a custom version of a theme if the user has it
This commit is contained in:
commit
8bc60824f6
@ -59,7 +59,12 @@ then
|
|||||||
else
|
else
|
||||||
if [ ! "$ZSH_THEME" = "" ]
|
if [ ! "$ZSH_THEME" = "" ]
|
||||||
then
|
then
|
||||||
source "$ZSH/themes/$ZSH_THEME.zsh-theme"
|
if [ -f "$ZSH/custom/$ZSH_THEME.zsh-theme" ]
|
||||||
|
then
|
||||||
|
source "$ZSH/custom/$ZSH_THEME.zsh-theme"
|
||||||
|
else
|
||||||
|
source "$ZSH/themes/$ZSH_THEME.zsh-theme"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user