1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 14:55:51 +08:00

feat (terraform): add apply -auto-approve alias (#12658)

Closes #12591
This commit is contained in:
Tushar Mohod 2024-09-19 00:10:54 +05:30 committed by GitHub
parent 9bcafe1c27
commit 865291cb7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 18 additions and 16 deletions

View File

@ -16,9 +16,10 @@ plugins=(... terraform)
## Aliases
| Alias | Command |
|--------|----------------------------|
|---------|----------------------------------|
| `tf` | `terraform` |
| `tfa` | `terraform apply` |
| `tfaa` | `terraform apply -auto-approve` |
| `tfc` | `terraform console` |
| `tfd` | `terraform destroy` |
| `tff` | `terraform fmt` |

View File

@ -17,6 +17,7 @@ function tf_version_prompt_info() {
alias tf='terraform'
alias tfa='terraform apply'
alias tfaa='terraform apply -auto-approve'
alias tfc='terraform console'
alias tfd='terraform destroy'
alias tff='terraform fmt'