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
This commit is contained in:
Hoàng Xuân Phú 2020-09-18 11:27:39 -04:00 committed by GitHub
parent cc04f3de07
commit 9725e85357
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`