You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For security reasons compinit also checks if the completion system would use files not owned by root or by the current user, or files in directories that are world- or group-writable or that are not owned by root or by the current user. If such files or directories are found, compinit will ask if the completion system should really be used. To avoid these tests and make all files found be used without asking, use the option -u, and to make compinit silently ignore all insecure files and directories use the option -i. This security check is skipped entirely when the -C option is given.
zsh thinks potentially dangerous files could be loaded and is, therefore, taking steps to try and prevent that.
This question may be a duplicate of #433, #680, and ohmyzsh/ohmyzsh#6835 - check these out for a possible solution. Generally, fixing the issue means changing the permissions or group settings for insecure files, or by setting ZSH_DISABLE_COMPFIX to "true" in your .zshrc file.
Closing this issue in favor of #433. Feel free to reopen if none of the above works for you.
zsh compinit: insecure files, run compaudit for list.
Ignore insecure files and continue [y] or abort compinit [n]? y%
Execute the compaudit command to get the following file path:
here are insecure files:
/usr/local/share/zsh/site-functions/_brew_services
/usr/local/share/zsh/site-functions/_carthage
How can I solve it? thank!
The text was updated successfully, but these errors were encountered: