From 9725e8535761a3e8a1e69f8d9a81359c9f584b50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ho=C3=A0ng=20Xu=C3=A2n=20Ph=C3=BA?= Date: Fri, 18 Sep 2020 11:27:39 -0400 Subject: [PATCH] chmod recursively to satisfy zsh "insecure directories" warning without `-R` only `share` is updated, leaving `share/zsh/site-functions` unchanged, so the warning won't go away --- docs/Shell-Completion.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Shell-Completion.md b/docs/Shell-Completion.md index 3f3191006f..7c0abc045c 100644 --- a/docs/Shell-Completion.md +++ b/docs/Shell-Completion.md @@ -52,7 +52,7 @@ You may also need to forcibly rebuild `zcompdump`: Additionally, if you receive "zsh compinit: insecure directories" warnings when attempting to load these completions, you may need to run this: ```sh - chmod go-w "$(brew --prefix)/share" + chmod -R go-w "$(brew --prefix)/share" ``` ## Configuring Completions in `fish`