# homebrew.zprofile -- Setup Homebrew Package Manager
# Make sure that "brew(1)" is installed
-(( $+commands[brew] )) || return
+(( $+commands[brew] )) || return 1
[[ -d "/usr/local/share/zsh-completions" ]] \
- && axzsh_fpath=(/usr/local/share/zsh-completions $axzsh_fpath)
+ && axzsh_fpath+=(/usr/local/share/zsh-completions)
-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
+return 0