summaryrefslogtreecommitdiff
path: root/plugins/opentofu
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/opentofu')
-rw-r--r--plugins/opentofu/README.md33
-rw-r--r--plugins/opentofu/opentofu.plugin.zsh1
2 files changed, 18 insertions, 16 deletions
diff --git a/plugins/opentofu/README.md b/plugins/opentofu/README.md
index 9c19501aa..9811e2751 100644
--- a/plugins/opentofu/README.md
+++ b/plugins/opentofu/README.md
@@ -15,22 +15,23 @@ plugins=(... opentofu)
## Aliases
-| Alias | Command |
-| ----- | --------------- |
-| `tt` | `tofu` |
-| `tta` | `tofu apply` |
-| `ttc` | `tofu console` |
-| `ttd` | `tofu destroy` |
-| `ttf` | `tofu fmt` |
-| `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` |
+| `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 c6844c84a..aa6cac78a 100644
--- a/plugins/opentofu/opentofu.plugin.zsh
+++ b/plugins/opentofu/opentofu.plugin.zsh
@@ -32,6 +32,7 @@ alias tta='tofu apply'
alias ttc='tofu console'
alias ttd='tofu destroy'
alias ttf='tofu fmt'
+alias ttfr='tofu fmt -recursive'
alias tti='tofu init'
alias tto='tofu output'
alias ttp='tofu plan'