insecure directories, run compaudit for list. Ignore insecure directories and continue [y] or abort compinit code example
Example 1: zsh compinit: insecure directories, run compaudit for list.
$ sudo chmod -R 755 /usr/local/share/zsh
$ sudo chown -R root:staff /usr/local/share/zsh
Example 2: zsh compinit: insecure directories, run compaudit for list.
compaudit | xargs chmod g-w