mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-29 04:53:17 +02:00
Improves the formatting of the Terraform plugin's `tf_prompt_info()` function (see #6373 and #6418). It: - adds a `tf:` prefix to indicate that what follows is the Terraform workspace - adds colorization and formatting to make the appearance more similar to the `git-prompt` plugin - adds a trailing space to separate the prompt from user input |
||
|---|---|---|
| .. | ||
| _terraform | ||
| README.md | ||
| terraform.plugin.zsh | ||
atom
Plugin for Terraform, a tool from Hashicorp for managing infrastructure safely and efficiently.
Requirements
Usage
- Type
terraforminto your prompt and hitTABto 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]\
$(tf_prompt_info)\