From e18e72c8596b69639782b666f3a9195f6cf54168 Mon Sep 17 00:00:00 2001 From: Jeconias Santos Date: Sat, 14 Dec 2024 11:11:46 -0300 Subject: [PATCH] feat(terraform): add workspace alias --- plugins/terraform/README.md | 3 +++ plugins/terraform/terraform.plugin.zsh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/plugins/terraform/README.md b/plugins/terraform/README.md index feaf21d40..f8f1d5bc8 100644 --- a/plugins/terraform/README.md +++ b/plugins/terraform/README.md @@ -33,6 +33,9 @@ plugins=(... terraform) | `tfs` | `terraform state` | | `tft` | `terraform test` | | `tfsh` | `terraform show` | +| `tfw` | `terraform workspace` | +| `tfwl` | `terraform workspace list` | +| `tfws` | `terraform workspace select` | ## Prompt function diff --git a/plugins/terraform/terraform.plugin.zsh b/plugins/terraform/terraform.plugin.zsh index 1c1d1b37e..124c30cf2 100644 --- a/plugins/terraform/terraform.plugin.zsh +++ b/plugins/terraform/terraform.plugin.zsh @@ -31,3 +31,6 @@ alias tfv='terraform validate' alias tfs='terraform state' alias tft='terraform test' alias tfsh='terraform show' +alias tfw='terraform workspace' +alias tfwl='terraform workspace list' +alias tfws='terraform workspace select'