fix(brew): do not assume brew install path

This commit is contained in:
Gregor Bückendorf 2023-02-20 11:31:44 +01:00
parent 4a860bc607
commit a573d8f35b
2 changed files with 10 additions and 5 deletions

View file

@ -18,6 +18,7 @@ possible_locations=(
"/usr/share/git/completion/git-completion.bash"
"/usr/share/bash-completion/completions/git"
"/usr/local/etc/bash_completion.d/git-completion.bash"
"/opt/homebrew/etc/bash_completion.d/git-completion.bash"
)
for completion_file in "${possible_locations[@]}"