Also check custom themes in $ZSH_CUSTOM/themes
According to [Overriding and adding themes][1] documentation, the location of custom themes should be on `$ZSH_CUSTOM/themes` ``` zsh_custom └── themes └── my_awesome_theme.zsh-theme ``` [1]: https://github.com/robbyrussell/oh-my-zsh/wiki/Customization#overriding-and-adding-themes
This commit is contained in:
parent
f3fa41834d
commit
2f7674adc3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user