Merge pull request #843 from geowy/master

Load bash-completion2 on macOS
pull/845/head
Nils Winkler 2016-11-25 08:33:38 +01:00 committed by GitHub
commit 84d654c4a2
1 changed files with 5 additions and 0 deletions

View File

@ -13,4 +13,9 @@ if [ $(uname) = "Darwin" ] && command -v brew &>/dev/null ; then
if [ -f "$BREW_PREFIX"/etc/bash_completion ]; then
. "$BREW_PREFIX"/etc/bash_completion
fi
# homebrew/versions/bash-completion2 (required for projects.completion.bash) is installed to this path
if [ -f "$BREW_PREFIX"/share/bash-completion/bash_completion ]; then
. "$BREW_PREFIX"/share/bash-completion/bash_completion
fi
fi