Merge pull request #1048 from miketheman/update-brew-completion
Update brew completionpull/1052/head
commit
ba10f9f6d6
|
|
@ -1,9 +1,11 @@
|
|||
if which brew >/dev/null 2>&1; then
|
||||
if [ -f `brew --prefix`/etc/bash_completion ]; then
|
||||
. `brew --prefix`/etc/bash_completion
|
||||
BREW_PREFIX=$(brew --prefix)
|
||||
|
||||
if [ -f "$BREW_PREFIX"/etc/bash_completion.d/brew ]; then
|
||||
. "$BREW_PREFIX"/etc/bash_completion.d/brew
|
||||
fi
|
||||
|
||||
if [ -f `brew --prefix`/Library/Contributions/brew_bash_completion.sh ]; then
|
||||
. `brew --prefix`/Library/Contributions/brew_bash_completion.sh
|
||||
if [ -f "$BREW_PREFIX"/Library/Contributions/brew_bash_completion.sh ]; then
|
||||
. "$BREW_PREFIX"/Library/Contributions/brew_bash_completion.sh
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue