diff options
author | Andrew Babichev <andrew.babichev@gmail.com> | 2020-09-30 11:50:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-30 10:50:33 +0200 |
commit | a8828aad87a900605044da2bdda7994518ddf74e (patch) | |
tree | 03d6ab6d30126409c6a530f7c5fa0c591411c2ae /plugins/terraform | |
parent | 71cc861806f30d8f7fd3d0040db86737cab62581 (diff) | |
download | zsh-a8828aad87a900605044da2bdda7994518ddf74e.tar.gz zsh-a8828aad87a900605044da2bdda7994518ddf74e.tar.bz2 zsh-a8828aad87a900605044da2bdda7994518ddf74e.zip |
terraform: add tf Alias (#8206)
Diffstat (limited to 'plugins/terraform')
-rw-r--r-- | plugins/terraform/README.md | 3 | ||||
-rw-r--r-- | plugins/terraform/terraform.plugin.zsh | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/plugins/terraform/README.md b/plugins/terraform/README.md index 471aef24e..9e9f0cdfb 100644 --- a/plugins/terraform/README.md +++ b/plugins/terraform/README.md @@ -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 diff --git a/plugins/terraform/terraform.plugin.zsh b/plugins/terraform/terraform.plugin.zsh index d727c1ee0..2c42d394d 100644 --- a/plugins/terraform/terraform.plugin.zsh +++ b/plugins/terraform/terraform.plugin.zsh @@ -7,3 +7,5 @@ function tf_prompt_info() { echo "[${workspace}]" fi } + +alias tf='terraform' |