terraform: add tf Alias (#8206)

master
Andrew Babichev 6 years ago committed by GitHub
parent 71cc861806
commit a8828aad87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      plugins/terraform/README.md
  2. 2
      plugins/terraform/terraform.plugin.zsh

@ -2,7 +2,7 @@
Plugin for Terraform, a tool from Hashicorp for managing infrastructure safely and efficiently.
Current as of Terraform v0.11.7
Current as of Terraform v0.13
### Requirements
@ -17,6 +17,7 @@ plugins=(... terraform)
```
* Type `terraform` into your prompt and hit `TAB` to see available completion options
* Type `tf` into your prompt as a short alias to `terraform`
### Expanding ZSH prompt with current Terraform workspace name

@ -7,3 +7,5 @@ function tf_prompt_info() {
echo "[${workspace}]"
fi
}
alias tf='terraform'

Loading…
Cancel
Save