From: Anton Shemerey Date: Thu, 26 May 2011 20:21:34 +0000 (+0300) Subject: add path for bash completion X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=b64d4bc0de02c7b88d19e9a0b9d5c5940510e90b;p=common%2Fbash_it.git add path for bash completion --- 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