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