From 3eae7216b2ef44e431e527571c97be677720c22a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Wed, 26 Oct 2016 20:09:08 +0200 Subject: [PATCH] zsh_reload: ignore insecure compinit files --- plugins/zsh_reload/zsh_reload.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/zsh_reload/zsh_reload.plugin.zsh b/plugins/zsh_reload/zsh_reload.plugin.zsh index e3aed5d7..b3a0094d 100644 --- a/plugins/zsh_reload/zsh_reload.plugin.zsh +++ b/plugins/zsh_reload/zsh_reload.plugin.zsh @@ -1,7 +1,7 @@ src() { local cache="$ZSH_CACHE_DIR" autoload -U compinit zrecompile - compinit -d "$cache/zcomp-$HOST" + compinit -i -d "$cache/zcomp-$HOST" for f in ~/.zshrc "$cache/zcomp-$HOST"; do zrecompile -p $f && command rm -f $f.zwc.old