From 6982dee071e73163645317693f3fa23f23e3d1bd Mon Sep 17 00:00:00 2001 From: hjoshi123 Date: Tue, 22 Dec 2020 17:29:32 +0530 Subject: [PATCH] [Docs]: Updated README.md to include homebrew unsecure dirs warning Closes #2361. --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c05612a6dc..53b3710ac4 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ ## About -nvm is a version manager for [node.js](https://nodejs.org/en/), designed to be installed per-user, and invoked per-shell. `nvm` works on any POSIX-compliant shell (sh, dash, ksh, zsh, bash), in particular on these platforms: unix, macOS, and windows WSL. +nvm is a version manager for [node.js](https://nodejs.org/en/), designed to be installed per-user, and invoked per-shell. `nvm` works on any POSIX-compliant shell (sh, dash, ksh, zsh, bash), in particular on these platforms: unix, macOS, and windows WSL. @@ -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.