Go to OSX Daily to read Fix Oh My Zsh “Insecure completion-dependent directories detected”
If you recently installed Oh My Zsh or updated a Mac running Oh My Zsh, you may encounter a large error message screen upon launching new terminal windows. The error usually states “Insecure completion-dependent directories detected”, and showing a series of /usr/local/share/zsh/ directories whose permissions zsh considers insecure.
There are two choices to deal with this issue; one being adjusting user permissions for the directories in question, and the other being to disable the verification check for the insecure directories.
Option 1: Changing…
Read more: Fix Oh My Zsh “Insecure completion-dependent directories detected”