diff --git a/lib/theming.zsh b/lib/theming.zsh index d9413c174..3391b539f 100644 --- a/lib/theming.zsh +++ b/lib/theming.zsh @@ -2,7 +2,7 @@ set_theme() { local themes themes=({$OMZ,$ZSH}/themes/$1.zsh-theme(N)) if ! source $themes[1] 2> /dev/null; then - omz_log_msg "theme: $1 was not found. falling back to default." + [[ "x$1" != "x" ]] && omz_log_msg "theme: $1 was not found. falling back to default." source $ZSH/themes/default.zsh-theme fi }