1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-21 21:30:09 +00:00

feat(opentofu): add apply -auto-approve alias (#12714)

This commit is contained in:
za 2024-10-02 15:49:31 +07:00 committed by GitHub
parent f4423ebd09
commit dae5a41159
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 19 additions and 17 deletions

View file

@ -16,9 +16,10 @@ plugins=(... opentofu)
## Aliases ## Aliases
| Alias | Command | | Alias | Command |
|--------|-----------------------| |--------|------------------------------|
| `tt` | `tofu` | | `tt` | `tofu` |
| `tta` | `tofu apply` | | `tta` | `tofu apply` |
| `ttaa` | `tofu apply -auto-approve` |
| `ttc` | `tofu console` | | `ttc` | `tofu console` |
| `ttd` | `tofu destroy` | | `ttd` | `tofu destroy` |
| `ttf` | `tofu fmt` | | `ttf` | `tofu fmt` |

View file

@ -29,6 +29,7 @@ function tofu_version_prompt_info() {
alias tt='tofu' alias tt='tofu'
alias tta='tofu apply' alias tta='tofu apply'
alias ttaa='tofu apply -auto-approve'
alias ttc='tofu console' alias ttc='tofu console'
alias ttd='tofu destroy' alias ttd='tofu destroy'
alias ttf='tofu fmt' alias ttf='tofu fmt'