aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Contributions/brew_bash_completion.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Contributions/brew_bash_completion.sh b/Library/Contributions/brew_bash_completion.sh
index ddd9c17e0..756621cf5 100644
--- a/Library/Contributions/brew_bash_completion.sh
+++ b/Library/Contributions/brew_bash_completion.sh
@@ -21,8 +21,7 @@ _brew_to_completion()
return 0
# Subcommands
else
- brew_base=`which brew`
- brew_base=`dirname ${brew_base}`/..
+ brew_base=`brew --repository`
case ${prev} in
# Commands that take a formula...