mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 02:41:57 +00:00
feat(terraform): add workspace aliases (#12171)
* feat(terraform): add workspace aliases * chore: rm aliases in separate pending pr * docs: show tfiu alias in readme --------- Co-authored-by: Robby Russell <robby@planetargon.com>
This commit is contained in:
parent
5a5d5eb85b
commit
37f5203abe
2 changed files with 16 additions and 14 deletions
|
@ -15,20 +15,21 @@ plugins=(... terraform)
|
||||||
|
|
||||||
## Aliases
|
## Aliases
|
||||||
|
|
||||||
| Alias | Command |
|
| Alias | Command |
|
||||||
| ------ | -------------------- |
|
| ------ | ------------------------- |
|
||||||
| `tf` | `terraform` |
|
| `tf` | `terraform` |
|
||||||
| `tfa` | `terraform apply` |
|
| `tfa` | `terraform apply` |
|
||||||
| `tfc` | `terraform console` |
|
| `tfc` | `terraform console` |
|
||||||
| `tfd` | `terraform destroy` |
|
| `tfd` | `terraform destroy` |
|
||||||
| `tff` | `terraform fmt` |
|
| `tff` | `terraform fmt` |
|
||||||
| `tfi` | `terraform init` |
|
| `tfi` | `terraform init` |
|
||||||
| `tfo` | `terraform output` |
|
| `tfiu` | `terraform init -upgrade` |
|
||||||
| `tfp` | `terraform plan` |
|
| `tfo` | `terraform output` |
|
||||||
| `tfv` | `terraform validate` |
|
| `tfp` | `terraform plan` |
|
||||||
| `tfs` | `terraform state` |
|
| `tfv` | `terraform validate` |
|
||||||
| `tft` | `terraform test` |
|
| `tfs` | `terraform state` |
|
||||||
| `tfsh` | `terraform show` |
|
| `tft` | `terraform test` |
|
||||||
|
| `tfsh` | `terraform show` |
|
||||||
|
|
||||||
|
|
||||||
## Prompt function
|
## Prompt function
|
||||||
|
|
|
@ -21,6 +21,7 @@ alias tfc='terraform console'
|
||||||
alias tfd='terraform destroy'
|
alias tfd='terraform destroy'
|
||||||
alias tff='terraform fmt'
|
alias tff='terraform fmt'
|
||||||
alias tfi='terraform init'
|
alias tfi='terraform init'
|
||||||
|
alias tfiu='terraform init -upgrade'
|
||||||
alias tfo='terraform output'
|
alias tfo='terraform output'
|
||||||
alias tfp='terraform plan'
|
alias tfp='terraform plan'
|
||||||
alias tfv='terraform validate'
|
alias tfv='terraform validate'
|
||||||
|
|
Loading…
Reference in a new issue