bash-completion@2

Formerly known as: bash-completion2

Programmable completion for Bash 4.1+

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

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

Linux formula code on GitHub

Current versions:

stable 2.10
head ⚡️ HEAD
bottle 🍾 catalina, mojave, high_sierra, x86_64_linux

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 18
Installs on Request (30 days)
bash-completion@2 18
Build Errors (30 days)
bash-completion@2 0
Installs (90 days)
bash-completion@2 79
Installs on Request (90 days)
bash-completion@2 79
Installs (365 days)
bash-completion@2 243
bash-completion@2 --HEAD 2
Installs on Request (365 days)
bash-completion@2 243
bash-completion@2 --HEAD 2
Fork me on GitHub