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.8
head ⚡️ HEAD
bottle 🍾 catalina, mojave, high_sierra, 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="/usr/local/etc/bash_completion.d"

Analytics:

Installs (30 days)
bash-completion@2 24
Installs on Request (30 days)
bash-completion@2 24
Build Errors (30 days)
bash-completion@2 0
Installs (90 days)
bash-completion@2 55
Installs on Request (90 days)
bash-completion@2 55
Installs (365 days)
bash-completion@2 221
bash-completion@2 --HEAD 2
Installs on Request (365 days)
bash-completion@2 221
bash-completion@2 --HEAD 2
Fork me on GitHub