We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 49af866 + 44765e0 commit 4c5854bCopy full SHA for 4c5854b
zinit-install.zsh
@@ -601,7 +601,8 @@ builtin source "${ZINIT[BIN_DIR]}/zinit-side.zsh" || {
601
#
602
# No arguments.
603
.zinit-compinit() {
604
- [[ -n ${OPTS[opt_-p,--parallel]} && $1 != 1 ]] && return
+ # This might be called during sourcing when setting up the plugins dir, so check that OPTS is actually existing
605
+ [[ -n $OPTS && -n ${OPTS[opt_-p,--parallel]} && $1 != 1 ]] && return
606
607
emulate -LR zsh
608
builtin setopt nullglob extendedglob warncreateglobal typesetsilent
0 commit comments