feat(terraform): add workspace alias

This commit is contained in:
Jeconias Santos 2024-12-14 11:11:46 -03:00
parent 69a6359f7c
commit e18e72c859
2 changed files with 6 additions and 0 deletions

View File

@ -33,6 +33,9 @@ plugins=(... terraform)
| `tfs` | `terraform state` | | `tfs` | `terraform state` |
| `tft` | `terraform test` | | `tft` | `terraform test` |
| `tfsh` | `terraform show` | | `tfsh` | `terraform show` |
| `tfw` | `terraform workspace` |
| `tfwl` | `terraform workspace list` |
| `tfws` | `terraform workspace select` |
## Prompt function ## Prompt function

View File

@ -31,3 +31,6 @@ alias tfv='terraform validate'
alias tfs='terraform state' alias tfs='terraform state'
alias tft='terraform test' alias tft='terraform test'
alias tfsh='terraform show' alias tfsh='terraform show'
alias tfw='terraform workspace'
alias tfwl='terraform workspace list'
alias tfws='terraform workspace select'