From fad37218f3a697d15af316ce52ec04e898626877 Mon Sep 17 00:00:00 2001 From: PowerUser64 <blake@blakenorth.net> Date: Sun, 13 Aug 2023 20:57:36 -0700 Subject: [PATCH] zsh: compaudit is slow, disabling --- .zshrc | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.zshrc b/.zshrc index 3f50d7a..e9abaed 100644 --- a/.zshrc +++ b/.zshrc @@ -214,16 +214,16 @@ export LESS_TERMCAP_us=$'\E[01;36m' export LESS=-R autoload -Uz compinit colors zcalc # only do full compinit once per day, use cached version usually -if ! compaudit &>/dev/null; then - echo "WARNING!" - echo " the following directories contain completions that have the wrong file permissions to be considered safe." - compaudit - echo " completions not loaded" - echo - echo "Please fix this and then continue" - echo " (note, this command might help: compaudit | xargs chmod g-w,o-w)" - echo -else +# if ! compaudit &>/dev/null; then +# echo "WARNING!" +# echo " the following directories contain completions that have the wrong file permissions to be considered safe." +# compaudit +# echo " completions not loaded" +# echo +# echo "Please fix this and then continue" +# echo " (note, this command might help: compaudit | xargs chmod g-w,o-w)" +# echo +# else if ! [[ -o extendedglob ]]; then setopt extendedglob; undo_setopt=true; fi if [[ -n ${ZDOTDIR}/.zcompdump(#qN.mh+24) ]]; then compinit @@ -231,7 +231,7 @@ else compinit -C fi if [[ undo_setopt = true ]]; then unsetopt extendedglob; fi -fi +# fi colors # <<< # auto save and load working dir (allow `cd -` on start) >>>