bash-completion@2

Formerly known as: bash-completion2

Programmable completion for Bash 4.1+

https://github.com/scop/bash-completion

/api/formula/bash-completion@2.json (JSON API)

Formula code on GitHub

Current versions:

stable 2.8
head ⚡️ HEAD
bottle 🍾 mojave, high_sierra, sierra

Depends on:

bash 5.0.11 Bourne-Again SHell, a UNIX command interpreter

Conflicts with: bash-completion

Add the following to your ~/.bash_profile:
    [[ -r "$(brew --prefix)/etc/profile.d/bash_completion.sh" ]] && . "$(brew --prefix)/etc/profile.d/bash_completion.sh"

If you'd like to use existing homebrew v1 completions, add the following before the previous line:
    export BASH_COMPLETION_COMPAT_DIR="$(brew --prefix)/etc/bash_completion.d"

Analytics:

Installs (30 days)
bash-completion@2 2,137
bash-completion@2 --HEAD 6
Installs on Request (30 days)
bash-completion@2 2,126
bash-completion@2 --HEAD 6
Build Errors (30 days)
bash-completion@2 0
Installs (90 days)
bash-completion@2 6,778
bash-completion@2 --HEAD 8
Installs on Request (90 days)
bash-completion@2 6,749
bash-completion@2 --HEAD 8
Installs (365 days)
bash-completion@2 23,604
bash-completion@2 --HEAD 36
Installs on Request (365 days)
bash-completion@2 23,379
bash-completion@2 --HEAD 36
Fork me on GitHub