From b64d4bc0de02c7b88d19e9a0b9d5c5940510e90b Mon Sep 17 00:00:00 2001 From: Anton Shemerey Date: Thu, 26 May 2011 23:21:34 +0300 Subject: [PATCH] add path for bash completion --- completion/brew.completion.bash | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/completion/brew.completion.bash b/completion/brew.completion.bash index 371fe77..50f6c08 100644 --- a/completion/brew.completion.bash +++ b/completion/brew.completion.bash @@ -1,5 +1,9 @@ if which brew >/dev/null 2>&1; then + if [ -f `brew --prefix`/etc/bash_completion ]; then + . `brew --prefix`/etc/bash_completion + fi + if [ -f `brew --prefix`/Library/Contributions/brew_bash_completion.sh ]; then . `brew --prefix`/Library/Contributions/brew_bash_completion.sh fi -fi \ No newline at end of file +fi -- 2.17.1