[Docs]: Updated README.md to include homebrew unsecure dirs warning

Closes #2361.
hjoshi123 2020-12-22 17:29:32 +05:30 committed by Jordan Harband
parent 10399ed1bd
commit 6982dee071
No known key found for this signature in database
GPG Key ID: 9F6A681E35EF8B56
1 changed files with 10 additions and 1 deletions

View File

@ -862,3 +862,12 @@ To change the user directory and/or account name follow the instructions [here](
[4]: https://github.com/nvm-sh/nvm/releases/tag/v0.37.2
[Urchin]: https://github.com/scraperwiki/urchin
[Fish]: http://fishshell.com
**Homebrew makes zsh directories unsecure**
```shell
zsh compinit: insecure directories, run compaudit for list.
Ignore insecure directories and continue [y] or abort compinit [n]? y
```
Homebrew causes insecure directories like `/usr/local/share/zsh/site-functions` and `/usr/local/share/zsh`. This is **not** an `nvm` problem - it is a homebrew problem. Refer [here](https://github.com/zsh-users/zsh-completions/issues/680) for some solutions related to the issue.