From fd7f5af2565d60b61c6df91ac383dcb4016fdd48 Mon Sep 17 00:00:00 2001 From: vonProteus <> Date: Sun, 3 Mar 2024 18:58:30 +0100 Subject: [PATCH] Fix for macOS with brew "zsh compinit: insecure directories, run compaudit for list." https://stackoverflow.com/questions/65484115/how-to-solve-zsh-compinit-insecure-directories-issue-on-macos-other-solutions --- zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zshrc b/zshrc index 355ca5b..a5a7f0f 100644 --- a/zshrc +++ b/zshrc @@ -355,9 +355,9 @@ fi # at last initialize completion autoload -Uz compinit if [[ -n "${ZDOTDIR}/.zcompdump(#qN.mh+24)" ]]; then - compinit + compinit -u else - compinit -C + compinit -u -C fi store_last_return_value() {