diff --git a/config/zsh/zshrc b/config/zsh/zshrc index 246de63..6fc19cd 100644 --- a/config/zsh/zshrc +++ b/config/zsh/zshrc @@ -6,3 +6,8 @@ compinit -d $XDG_CACHE_HOME/zsh/zcompdump ([[ $_comp_dumpfile.zwc -nt $_comp_dumpfile ]] || zcompile $_comp_dumpfile) &! [[ -o login ]] && for f in $ZDOTDIR/interactive+login/*(N); source $f + +# If zsh init ends with a failing command (like a conditional) the prompt will +# show the "error" colour on first launch. To avoid this, we simply end with a +# true command: +true