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 🍾 catalina, 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,293
bash-completion@2 --HEAD 6
Installs on Request (30 days)
bash-completion@2 2,281
bash-completion@2 --HEAD 6
Build Errors (30 days)
bash-completion@2 0
Installs (90 days)
bash-completion@2 6,717
bash-completion@2 --HEAD 21
Installs on Request (90 days)
bash-completion@2 6,687
bash-completion@2 --HEAD 21
Installs (365 days)
bash-completion@2 25,032
bash-completion@2 --HEAD 47
Installs on Request (365 days)
bash-completion@2 24,862
bash-completion@2 --HEAD 47
Fork me on GitHub