From d29d1f380d369d5a48cc86abc572b2d4d9426203 Mon Sep 17 00:00:00 2001 From: Sakuragawa Misty Date: Wed, 14 Aug 2024 18:46:48 +0800 Subject: [PATCH] Use compinit -u flag to speedup startup and avoid permission issue --- zsh_conf/05-zgenom-init.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zsh_conf/05-zgenom-init.zsh b/zsh_conf/05-zgenom-init.zsh index b7074f1..c9fd2b3 100644 --- a/zsh_conf/05-zgenom-init.zsh +++ b/zsh_conf/05-zgenom-init.zsh @@ -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 @@ -18,4 +19,4 @@ if ! zgenom saved; then zgenom compdef else ZGENOM_SAVED="1" -fi \ No newline at end of file +fi