mxcl/homebrew — pull request #11936 by docwhat (2012-04-29 06:22:06+00:00)
Title: zsh: support site specific files

This fixes the `site-scripts` and `site-functions` directories
so that zsh points to the HOMEBREW_PREFIX version of these files
instead of the Cellar version.

This means you can drop files in these directories and the files
will persist when you upgrade zsh. Otherwise they disappear when
you upgrade zsh.

The `share/zsh/functions` and `scripts` directory shouldn't be linked, either. However, I didn't fix that because some other formulas (ack, hub and task for example) link there, even though zsh won't pick them up (zsh looks in the Cellar, not the HOMEBREW_PREFIX.