Skip to content

Commit

Permalink
Merge pull request Bash-it#843 from geowy/master
Browse files Browse the repository at this point in the history
Load bash-completion2 on macOS
  • Loading branch information
nwinkler committed Nov 25, 2016
2 parents bbc83d8 + 971f911 commit 84d654c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions completion/available/system.completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 84d654c

Please sign in to comment.