]> arthur.barton.de Git - ax-zsh.git/blobdiff - plugins/homebrew/homebrew.zprofile
homebrew: Clean up ZSH completion handling
[ax-zsh.git] / plugins / homebrew / homebrew.zprofile
index 476b65dd3790fdbfcb7a1af210768d487f070257..670a349c6c371fb21fc03df72905e6a8c62b5372 100644 (file)
@@ -6,11 +6,3 @@
 
 [[ -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