mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
terraform: add tf Alias (#8206)
This commit is contained in:
1 parent
71cc861806
commit
a8828aad87
2 files changed
+4
-1
No files matched your search
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Plugin for Terraform, a tool from Hashicorp for managing infrastructure safely and efficiently.
|
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
|
### Requirements
|
||||||
|
|
||||||
@@ -17,6 +17,7 @@ plugins=(... terraform)
|
|||||||
```
|
```
|
||||||
|
|
||||||
* Type `terraform` into your prompt and hit `TAB` to see available completion options
|
* 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
|
### Expanding ZSH prompt with current Terraform workspace name
|
||||||
|
|
||||||
|
|||||||
@@ -7,3 +7,5 @@ function tf_prompt_info() {
|
|||||||
echo "[${workspace}]"
|
echo "[${workspace}]"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
alias tf='terraform'
|
||||||
Reference in new issue
Block a user