todd-dsm / mac-ops

QnD Automation to build a MacBook Pro for DevOps
MIT License
11 stars 7 forks source link

terraform autocompletions #31

Closed todd-dsm closed 2 years ago

todd-dsm commented 5 years ago

terraform -install-autocomplete drops the bash complete -C line in ~/.basrc.

cat ~/.bashrc
...
############################################################################### 
###                                Terraform                                ### 
############################################################################### 
complete -C /usr/local/Cellar/terraform/0.11.8/bin/terraform terraform             
alias tf='/usr/local/bin/terraform'                                                
export TF_VAR_AWS_PROFILE="$AWS_PROFILE"                                           
export TF_LOG='DEBUG'                                                              
export TF_LOG_PATH='/tmp/terraform.log'                                            
todd-dsm commented 5 years ago

testing: just dropping it in so it's not forgotten; requires manual polish though

todd-dsm commented 2 years ago

done