summaryrefslogtreecommitdiff
path: root/plugins/terraform
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2019-09-11 18:19:51 -0600
committerTuowen Zhao <ztuowen@gmail.com>2019-09-11 18:19:51 -0600
commitd676c1553254309beca5bb9a8edb43fbe09a7169 (patch)
treed0bb04b6487e6fedbb2b2370a894fccd19d4c567 /plugins/terraform
parentfb141c2257f648cd29b64cbd3f2ca9123f6e427f (diff)
parentddd359dd668f448856438304bedfe952d1749efd (diff)
downloadzsh-d676c1553254309beca5bb9a8edb43fbe09a7169.tar.gz
zsh-d676c1553254309beca5bb9a8edb43fbe09a7169.tar.bz2
zsh-d676c1553254309beca5bb9a8edb43fbe09a7169.zip
Merge remote-tracking branch 'orig/master'
Diffstat (limited to 'plugins/terraform')
-rw-r--r--plugins/terraform/README.md11
1 files changed, 8 insertions, 3 deletions
diff --git a/plugins/terraform/README.md b/plugins/terraform/README.md
index e5d9e47b6..471aef24e 100644
--- a/plugins/terraform/README.md
+++ b/plugins/terraform/README.md
@@ -10,6 +10,12 @@ Current as of Terraform v0.11.7
### Usage
+To use it, add `terraform` to the plugins array of your `~/.zshrc` file:
+
+```shell
+plugins=(... terraform)
+```
+
* Type `terraform` into your prompt and hit `TAB` to see available completion options
### Expanding ZSH prompt with current Terraform workspace name
@@ -17,7 +23,6 @@ Current as of Terraform v0.11.7
If you want to get current Terraform workspace name in your ZSH prompt open
your .zsh-theme file and in a chosen place insert:
-```
-$FG[045]\
-$(tf_prompt_info)\
+```shell
+PROMPT=$'%{$fg[white]%}$(tf_prompt_info)%{$reset_color%} '
```