mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 20:29:45 +01:00
d12c2ea4e8
Expanded Terraform plugin with function that can be used to show workspace name in the zsh prompt
21 lines
500 B
Markdown
21 lines
500 B
Markdown
## atom
|
|
|
|
Plugin for Terraform, a tool from Hashicorp for managing infrastructure safely and efficiently.
|
|
|
|
### Requirements
|
|
|
|
* [Terraform](https://terraform.io/)
|
|
|
|
### 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)\
|
|
```
|