mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-11 10:49:51 +00:00
themes: fix custom themes directory (#7233)
This commit is contained in:
@@ -8,9 +8,9 @@ function theme
|
||||
source "$RANDOM_THEME"
|
||||
echo "[oh-my-zsh] Random theme '$RANDOM_THEME' loaded..."
|
||||
else
|
||||
if [ -f "$ZSH_CUSTOM/$1.zsh-theme" ]
|
||||
if [ -f "$ZSH_CUSTOM/themes/$1.zsh-theme" ]
|
||||
then
|
||||
source "$ZSH_CUSTOM/$1.zsh-theme"
|
||||
source "$ZSH_CUSTOM/themes/$1.zsh-theme"
|
||||
else
|
||||
source "$ZSH/themes/$1.zsh-theme"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user