Homebrew recently restructured their repositories and removed the
"brew_zsh_completion.zsh" file; so this "trick" dosn't work any more.
But ZSH completion uses the bash "brew" completion anyways, so
everything should be fine.
This reverts
56a1f26373.
[[ -d "/usr/local/share/zsh-completions" ]] \
&& axzsh_fpath=(/usr/local/share/zsh-completions $axzsh_fpath)
-
-completion_file="$(brew --prefix)/Library/Contributions/brew_zsh_completion.zsh"
-target_file="$(dirname "$0")/functions/_brew"
-
-[[ -r "$completion_file" && ! -r "$target_file" ]] \
- && ln -fs "$completion_file" "$target_file"
-
-unset completion_file target_file