bash-completion@2
« Back to VersTracker
Description:
Programmable completion for Bash 4.2+
Type: Formula  |  Latest Version: 2.17.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: shell bash productivity developer-tools completion
Install: brew install bash-completion@2
About:
Bash-completion enhances the Bash shell by providing intelligent, programmable completion for commands and their arguments. It significantly reduces typing and errors by offering context-aware suggestions for flags, options, and file paths. This package is specifically designed for modern Bash versions (4.2 and newer).
Key Features:
  • Context-aware command argument completion
  • Support for custom completion functions
  • Automatic completion for installed command-line tools
  • Enhanced directory and file navigation
Use Cases:
  • Accelerating daily terminal workflows for developers and sysadmins
  • Reducing syntax errors by preventing mistyped command arguments
  • Discovering available options and flags for complex CLI tools
Alternatives:
  • zsh-completion – Provides similar functionality but is designed specifically for the Zsh shell ecosystem.
License: GPL-2.0-or-later
Dependencies: bash
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Important Notes:
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"
Version History
Detected Version Rev Change Commit
Oct 31, 2025 11:42pm 0 VERSION_BUMP d4eae6fa
Oct 31, 2025 6:36pm 0 VERSION_BUMP a5ec612d