zsh/config/zsh/zshrc

13 lines
455 B
Bash

source $ZDOTDIR/zinit
for f in $ZDOTDIR/interactive/^*.zwc(N); source $f
zpcompinit && zpcdreplay
([[ $ZINIT[ZCOMPDUMP_PATH].zwc -nt $ZINIT[ZCOMPDUMP_PATH] ]] || zcompile $ZINIT[ZCOMPDUMP_PATH]) &!
[[ -o login ]] && for f in $ZDOTDIR/interactive+login/^*.zwc(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