Auto-completion for the Salesforce CLI in bash.
Clone and open this repository:
git clone https://github.com/wadewegner/salesforce-cli-bash-completion && cd salesforce-cli-bash-completion
Update your .bash_profile
:
printf "\nsource '"$(pwd)"/sfdx.bash'\n" >> ~/.bash_profile
Reload your profile:
source ~/.bash_profile
Enjoy!