adding env var for bash-completion@2 compatibility

pull/1369/head
Jason Al-Mansor 2019-04-26 11:03:44 -04:00
parent 039cfa7e0f
commit 15b3281445
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +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
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"
. "$BREW_PREFIX"/share/bash-completion/bash_completion
fi
fi