diff options
| author | za <zakiakhmad@gmail.com> | 2024-10-02 15:49:31 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-02 10:49:31 +0200 |
| commit | dae5a4115917e2b9c65d9166c5d64df693f70dd4 (patch) | |
| tree | d91357fd473d42464fdbd5c55b0a8da3bdd938ea /plugins | |
| parent | f4423ebd09fbc7670815c3c20cc86c81b7319e5f (diff) | |
| download | zsh-dae5a4115917e2b9c65d9166c5d64df693f70dd4.tar.gz zsh-dae5a4115917e2b9c65d9166c5d64df693f70dd4.tar.bz2 zsh-dae5a4115917e2b9c65d9166c5d64df693f70dd4.zip | |
feat(opentofu): add `apply -auto-approve` alias (#12714)
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/opentofu/README.md | 35 | ||||
| -rw-r--r-- | plugins/opentofu/opentofu.plugin.zsh | 1 |
2 files changed, 19 insertions, 17 deletions
diff --git a/plugins/opentofu/README.md b/plugins/opentofu/README.md index 9811e2751..cc6e94acd 100644 --- a/plugins/opentofu/README.md +++ b/plugins/opentofu/README.md @@ -15,23 +15,24 @@ plugins=(... opentofu) ## Aliases -| Alias | Command | -|--------|-----------------------| -| `tt` | `tofu` | -| `tta` | `tofu apply` | -| `ttc` | `tofu console` | -| `ttd` | `tofu destroy` | -| `ttf` | `tofu fmt` | -| `ttfr` | `tofu fmt -recursive` | -| `tti` | `tofu init` | -| `tto` | `tofu output` | -| `ttp` | `tofu plan` | -| `ttv` | `tofu validate` | -| `tts` | `tofu state` | -| `ttsh` | `tofu show` | -| `ttr` | `tofu refresh` | -| `ttt` | `tofu test` | -| `ttws` | `tofu workspace` | +| Alias | Command | +|--------|------------------------------| +| `tt` | `tofu` | +| `tta` | `tofu apply` | +| `ttaa` | `tofu apply -auto-approve` | +| `ttc` | `tofu console` | +| `ttd` | `tofu destroy` | +| `ttf` | `tofu fmt` | +| `ttfr` | `tofu fmt -recursive` | +| `tti` | `tofu init` | +| `tto` | `tofu output` | +| `ttp` | `tofu plan` | +| `ttv` | `tofu validate` | +| `tts` | `tofu state` | +| `ttsh` | `tofu show` | +| `ttr` | `tofu refresh` | +| `ttt` | `tofu test` | +| `ttws` | `tofu workspace` | ## Prompt functions diff --git a/plugins/opentofu/opentofu.plugin.zsh b/plugins/opentofu/opentofu.plugin.zsh index aa6cac78a..79b102a74 100644 --- a/plugins/opentofu/opentofu.plugin.zsh +++ b/plugins/opentofu/opentofu.plugin.zsh @@ -29,6 +29,7 @@ function tofu_version_prompt_info() { alias tt='tofu' alias tta='tofu apply' +alias ttaa='tofu apply -auto-approve' alias ttc='tofu console' alias ttd='tofu destroy' alias ttf='tofu fmt' |
