title: Homebrew setup causing insecure directories and files warning in terminal
body: <p>My console is showing this when opening:</p>
  <pre><code>zsh compinit: insecure directories and files, run compaudit for list.
  Ignore insecure directories and files and continue [y] or abort compinit [n]?`
  </code></pre>
  <p>When I run <code>compaudit</code>, as the warning suggets, I get following insecure directories:</p>
  <pre><code>/usr/local/share/zsh/site-functions
  /usr/local/share/zsh
  /usr/local/share/zsh/site-functions/_brew
  /usr/local/share/zsh/site-functions/_brew_services
  </code></pre>
  <p>So my asumption is it has something to do with my brew installation.
  I am using an M1 Mac and have configured brew so I can use it on my private and my work user using these commands:</p>
  <p><code>sudo chgrp -R brew $(brew --prefix)/*</code> (Change the group of homebrew installation directory)</p>
  <p><code>sudo chmod -R g+w $(brew --prefix)/*</code> (Allow group members to write inside this directory)</p>
  <p>So my question is how can I remove this warning?
  Is it caused by my multi-user brew setup?</p>