diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index 198982b05..ba00f13e4 100644 --- a/oh-my-zsh.sh +++ b/oh-my-zsh.sh @@ -232,7 +232,7 @@ if [[ -n "$ZSH_THEME" ]]; then source "$ZSH/themes/$ZSH_THEME.zsh-theme" else echo "[oh-my-zsh] Theme '$ZSH_THEME' was not found, using default theme!" - if is_default_theme "$ZSH_CUSTOM" && ! is_theme "$ZSH_THEME" "robbyrussell"; then + if is_default_theme "$ZSH_CUSTOM" && ! is_theme "$ZSH/themes/" "robbyrussell"; then if is_theme "$ZSH_CUSTOM/themes/" "robbyrussell"; then source "$ZSH_CUSTOM/themes/robbyrussell.zsh-theme" else