bash-completion@2

Install command:
brew install bash-completion@2

Formerly known as: bash-completion2

Programmable completion for Bash 4.2+

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

License: GPL-2.0

Formula JSON API: /api/formula/bash-completion@2.json

Formula code: bash-completion@2.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sonoma
ventura
monterey
big sur
Intel sonoma
ventura
monterey
big sur
catalina
mojave
high sierra
64-bit linux

Current versions:

stable 2.11
head ⚡️ HEAD

Depends on:

bash 5.2.21 Bourne-Again SHell, a UNIX command interpreter

Conflicts with: bash-completion

Add the following line to your ~/.bash_profile:
    [[ -r "$HOMEBREW_PREFIX/etc/profile.d/bash_completion.sh" ]] && . "$HOMEBREW_PREFIX/etc/profile.d/bash_completion.sh"

Analytics:

Installs (30 days)
bash-completion@2 625
Installs on Request (30 days)
bash-completion@2 596
Build Errors (30 days)
bash-completion@2 0
Installs (90 days)
bash-completion@2 1,826
Installs on Request (90 days)
bash-completion@2 1,728
Installs (365 days)
bash-completion@2 4,781
Installs on Request (365 days)
bash-completion@2 4,538
Fork me on GitHub