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 which brew >/dev/null 2>&1; then
|
||||||
if [ -f `brew --prefix`/etc/bash_completion ]; then
|
BREW_PREFIX=$(brew --prefix)
|
||||||
. `brew --prefix`/etc/bash_completion
|
|
||||||
|
if [ -f "$BREW_PREFIX"/etc/bash_completion.d/brew ]; then
|
||||||
|
. "$BREW_PREFIX"/etc/bash_completion.d/brew
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f `brew --prefix`/Library/Contributions/brew_bash_completion.sh ]; then
|
if [ -f "$BREW_PREFIX"/Library/Contributions/brew_bash_completion.sh ]; then
|
||||||
. `brew --prefix`/Library/Contributions/brew_bash_completion.sh
|
. "$BREW_PREFIX"/Library/Contributions/brew_bash_completion.sh
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue