10

Fixing zsh Compaudit Problem on OSX Catalina

 3 years ago
source link: https://fuzzyblog.io/blog/osx/2020/06/04/fixing-zsh-compaudit-problem-on-osx-catalina.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Fixing zsh Compaudit Problem on OSX Catalina

Jun 4, 2020

IMG_1479.jpeg

Ever since OSX Catalina, every time I open a new shell window I get this error:

zsh compinit: insecure directories, run compaudit for list.
Ignore insecure directories and continue [y] or abort compinit [n]? y
(eval):32: command not found: complete

The issue with complete isn't the problem here – it is the insecure directories issue. After a bunch of googling, I found this command:

compaudit | xargs chmod g-w

which fixed the issue entirely.


Posted In: #osx #zsh #catalina


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK