Bash completion is a set of command line command completions for the Bash shell, it contains a collection of helper functions to assist in creating new completions. It also provides a set of facilities for loading completions automatically on demand, as well as installing them.
Official Webpage: https://salsa.debian.org/debian/bash-completion
Installation
- Open Terminal App,
- Type Command: brew install bash-completion
- Once installation is complete, please add the path of bash_completion.sh to the bash profile file ~/.bash_profile
Add the following line to your ~/.bash_profile: [[ -r "/opt/homebrew/etc/profile.d/bash_completion.sh" ]] && . "/opt/homebrew/etc/profile.d/bash_completion.sh"
- Run command source ~/.bash_profile

-
Facing issues? Have Questions? Post them here! I am happy to answer!
More Posts related to Bash,
- Bash Hello World! Script Tutorial
- How to run bash command in background
- How to create new user account in Windows bash
- How to Compare Strings in Bash
- Bash: Allow Command to Fail without exiting Script
- Fix bash: script.sh: Permission denied Error
- Bash getopts Command Example
- How to fix bash ping command not found error
- How to add NewLine Character in Bash Script String
- How to Echo Bash Command to a File
- Bash Command to Find String in a File
- How to open new Terminal using Bash Command
- Bash How to Save Output of a Command to a Variable
- Download a SSL Certificate from a URL in Terminal
- Bash Command to Check IP Address
- Know Bash shell version command
- Bash Command To Check If File Exists
- How to run a Command in Bash Script
- How to Compare two Files in Bash Shell
- How to check if a variable is set in Bash Script or Not
- Convert String from uppercase to lowercase in Bash
- How to see Created Accessed Modified and Changed dates of a file using bash terminal command
- Bash Command To Get Current Time
- Bash command to List Files
- Fix: bash: syntax error near unexpected token
More Posts:
- [Solution] Java JDBC SQLException: No value specified for parameter 1 - Java
- Powershell Comments Examples - Powershell
- How to write hello world different languages syntax - HowTos
- How to Install Python Modules in VS Code - Python
- What does has notifications silenced in Messages App mean in iPhone - iOS
- How to know the version of Teams installed - Teams
- Get the Current Working Directory using Java Code - Java
- Get the Complete Sha256 Container ID for Docker Run Command - Docker