diff --git a/modules/prompt/init.zsh b/modules/prompt/init.zsh index 2ee8f3a..abe443c 100644 --- a/modules/prompt/init.zsh +++ b/modules/prompt/init.zsh @@ -2,7 +2,7 @@ # load user-defined prompt # -if [[ ! ${TERM} == (linux|*bsd*|dumb) ]] && [[ ${zprompt_theme} ]]; then +if [[ ! ${TERM} == (linux|*bsd*|dumb) ]] && (( ${+zprompt_theme} )); then autoload -Uz promptinit && promptinit prompt ${zprompt_theme} fi