mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-11-26 10:23:06 +01:00
Plugins: Terraform (#6373)
Expanded Terraform plugin with function that can be used to show workspace name in the zsh prompt
This commit is contained in:
1 parent
46062e25cc
commit
d12c2ea4e8
2 files changed
+17
No files matched your search
@@ -9,3 +9,13 @@ Plugin for Terraform, a tool from Hashicorp for managing infrastructure safely a
|
||||
### Usage
|
||||
|
||||
* Type `terraform` into your prompt and hit `TAB` to see available completion options
|
||||
|
||||
### Expanding ZSH prompt with current Terraform workspace name
|
||||
|
||||
If you want to get current Terraform workspace name in your ZSH prompt open
|
||||
your .zsh-theme file and in a choosen place insert:
|
||||
|
||||
```
|
||||
$FG[045]\
|
||||
$(terraform_prompt_info)\
|
||||
```
|
||||
Reference in new issue
Block a user