Skip to content

Commit

Permalink
Use compinit -u flag to speedup startup and avoid permission issue
Browse files Browse the repository at this point in the history
  • Loading branch information
NyaMisty committed Aug 14, 2024
1 parent bf115ae commit d29d1f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zsh_conf/05-zgenom-init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ZGENOM_ENVCONF="$ZGENOM/sources/NyaMisty/zgenom_envconf/___"

# detects new file and changed file
export ZGEN_RESET_ON_CHANGE=(${ENVCONF_ROOT}/zsh_conf/*)
export ZGEN_COMPINIT_FLAGS="-u "

source $ZGENOM/zgenom.zsh

Expand All @@ -18,4 +19,4 @@ if ! zgenom saved; then
zgenom compdef
else
ZGENOM_SAVED="1"
fi
fi

0 comments on commit d29d1f3

Please sign in to comment.