summaryrefslogtreecommitdiff
path: root/plugins/terraform/README.md
diff options
context:
space:
mode:
authorMaciej Lasyk <maciek@lasyk.info>2017-11-07 16:45:25 +0100
committerRobby Russell <robby@planetargon.com>2017-11-07 07:45:25 -0800
commitd12c2ea4e83779250fda8096571682d9d340ee09 (patch)
treeed922e21655bbb2b5d78656b62584aaeab390847 /plugins/terraform/README.md
parent46062e25cc4ebae21465cac4680ce284dcf475a7 (diff)
downloadzsh-d12c2ea4e83779250fda8096571682d9d340ee09.tar.gz
zsh-d12c2ea4e83779250fda8096571682d9d340ee09.tar.bz2
zsh-d12c2ea4e83779250fda8096571682d9d340ee09.zip
Plugins: Terraform (#6373)
Expanded Terraform plugin with function that can be used to show workspace name in the zsh prompt
Diffstat (limited to 'plugins/terraform/README.md')
-rw-r--r--plugins/terraform/README.md10
1 files changed, 10 insertions, 0 deletions
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)\
+```