fix path to use brew prefix env var

pull/1369/head
Jason Al-Mansor 2019-04-26 11:12:53 -04:00
parent 15b3281445
commit 2c0bde3a22
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ if [ $(uname) = "Darwin" ] && command -v brew &>/dev/null ; then
# homebrew/versions/bash-completion2 (required for projects.completion.bash) is installed to this path # homebrew/versions/bash-completion2 (required for projects.completion.bash) is installed to this path
if [ "${BASH_VERSINFO}" -ge 4 ] && [ -f "$BREW_PREFIX"/share/bash-completion/bash_completion ]; then if [ "${BASH_VERSINFO}" -ge 4 ] && [ -f "$BREW_PREFIX"/share/bash-completion/bash_completion ]; then
export BASH_COMPLETION_COMPAT_DIR="/usr/local/etc/bash_completion.d" export BASH_COMPLETION_COMPAT_DIR="$BREW_PREFIX"/etc/bash_completion.d
. "$BREW_PREFIX"/share/bash-completion/bash_completion . "$BREW_PREFIX"/share/bash-completion/bash_completion
fi fi
fi fi