ohmyzsh/plugins/terraform
Chris Belyea 288e596566
Improve formatting of Terraform plugin output
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
2017-11-17 09:27:15 -05:00
..
_terraform add -backend-config flag to terraform init command (#6370) 2017-11-01 05:56:29 -07:00
README.md Fix the terraform function name (#6418) 2017-11-14 06:36:22 -08:00
terraform.plugin.zsh Improve formatting of Terraform plugin output 2017-11-17 09:27:15 -05:00

atom

Plugin for Terraform, a tool from Hashicorp for managing infrastructure safely and efficiently.

Requirements

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]\
$(tf_prompt_info)\