From d12c2ea4e83779250fda8096571682d9d340ee09 Mon Sep 17 00:00:00 2001 From: Maciej Lasyk Date: Tue, 7 Nov 2017 16:45:25 +0100 Subject: Plugins: Terraform (#6373) Expanded Terraform plugin with function that can be used to show workspace name in the zsh prompt --- plugins/terraform/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'plugins/terraform/README.md') diff --git a/plugins/terraform/README.md b/plugins/terraform/README.md index 44e38a1c0..b39f9916b 100644 --- a/plugins/terraform/README.md +++ b/plugins/terraform/README.md @@ -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)\ +``` -- cgit v1.2.3-70-g09d2