summaryrefslogtreecommitdiff
path: root/plugins/opentofu
diff options
context:
space:
mode:
authorYurii Liaskovets <yurii.liaskovets@gmail.com>2025-12-17 19:55:47 +0200
committerGitHub <noreply@github.com>2025-12-17 18:55:47 +0100
commit8a231b19308140ca88732e4cb0f3de9768036bfb (patch)
tree4f920be81a786d157731a766d19bb6515fdc6f5a /plugins/opentofu
parent475b18f39a2406d1ba173e36f243935be413239d (diff)
downloadzsh-8a231b19308140ca88732e4cb0f3de9768036bfb.tar.gz
zsh-8a231b19308140ca88732e4cb0f3de9768036bfb.tar.bz2
zsh-8a231b19308140ca88732e4cb0f3de9768036bfb.zip
feat!: unify `auto-approve` aliases in `terraform` and `opentofu` (#12795)
BREAKING CHANGE: `tfaa` (apply auto-approve) aliases are now named `tfa!` to require extra effort on potentially destructive action, in a similar fashion to destroy auto-approve.
Diffstat (limited to 'plugins/opentofu')
-rw-r--r--plugins/opentofu/README.md2
-rw-r--r--plugins/opentofu/opentofu.plugin.zsh2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/opentofu/README.md b/plugins/opentofu/README.md
index 45b98c3c9..059664d47 100644
--- a/plugins/opentofu/README.md
+++ b/plugins/opentofu/README.md
@@ -19,7 +19,7 @@ plugins=(... opentofu)
|--------|------------------------------|
| `tt` | `tofu` |
| `tta` | `tofu apply` |
-| `ttaa` | `tofu apply -auto-approve` |
+| `tta!` | `tofu apply -auto-approve` |
| `ttc` | `tofu console` |
| `ttd` | `tofu destroy` |
| `ttd!` | `tofu destroy -auto-approve` |
diff --git a/plugins/opentofu/opentofu.plugin.zsh b/plugins/opentofu/opentofu.plugin.zsh
index bb65c12e3..b7a3ba3b6 100644
--- a/plugins/opentofu/opentofu.plugin.zsh
+++ b/plugins/opentofu/opentofu.plugin.zsh
@@ -29,7 +29,7 @@ function tofu_version_prompt_info() {
alias tt='tofu'
alias tta='tofu apply'
-alias ttaa='tofu apply -auto-approve'
+alias tta!='tofu apply -auto-approve'
alias ttc='tofu console'
alias ttd='tofu destroy'
alias ttd!='tofu destroy -auto-approve'