zsh compinit: insecure directories

2020-05-10 19:12发布

What does it mean and how can I fix it?

zsh compinit: insecure directories, run compaudit for list.
Ignore insecure directories and continue [y] or abort compinit [n]?

Running the compaudit returns the follows:

There are insecure directories:
/usr/local/share/zsh/site-functions

15条回答
Evening l夕情丶
2楼-- · 2020-05-10 19:39

None of the solutions listed worked for me. Instead, I ended up uninstalling and reinstalling Homebrew, which did the trick. Uninstall instructions may be found here: http://osxdaily.com/2018/08/12/how-uninstall-homebrew-mac/

查看更多
beautiful°
3楼-- · 2020-05-10 19:40
Root(大扎)
4楼-- · 2020-05-10 19:41

on Mojave, this did the trick : sudo chmod go-w /usr/local/share

查看更多
登录 后发表回答