add support for per-theme subfolder
This will allow it to git-clone third-party themes into $ZSH_CUSTOM/themes/$ZSH_THEME and therefore make it somewhat easier to maintain
This commit is contained in:
parent
0cec462621
commit
2e4bc1cfa8
@ -110,6 +110,8 @@ else
|
||||
source "$ZSH_CUSTOM/$ZSH_THEME.zsh-theme"
|
||||
elif [ -f "$ZSH_CUSTOM/themes/$ZSH_THEME.zsh-theme" ]; then
|
||||
source "$ZSH_CUSTOM/themes/$ZSH_THEME.zsh-theme"
|
||||
elif [ -f "$ZSH_CUSTOM/themes/$ZSH_THEME/$ZSH_THEME.zsh-theme" ]; then
|
||||
source "$ZSH_CUSTOM/themes/$ZSH_THEME/$ZSH_THEME.zsh-theme"
|
||||
else
|
||||
source "$ZSH/themes/$ZSH_THEME.zsh-theme"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user