For system, network and cloud administrators

Bash completion

macOS Catalina

  1. Open your terminal and install the bash-completion package using brew:
brew install bash-completion
  1. Adjust your .bash_profile by running in your terminal:
echo "[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion" >> ~/.bash_profile
  1. Reload your .bash_profile:
source ~/.bash_profile

Leave a Reply

Your email address will not be published. Required fields are marked *