add path for bash completion

pull/49/head
Anton Shemerey 2011-05-26 23:21:34 +03:00
parent 8f0b38ad0e
commit b64d4bc0de
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,8 @@
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`/etc/bash_completion
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