diff options
author | Maciej Lasyk <maciek@lasyk.info> | 2017-11-07 16:45:25 +0100 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2017-11-07 07:45:25 -0800 |
commit | d12c2ea4e83779250fda8096571682d9d340ee09 (patch) | |
tree | ed922e21655bbb2b5d78656b62584aaeab390847 /plugins/terraform/README.md | |
parent | 46062e25cc4ebae21465cac4680ce284dcf475a7 (diff) | |
download | zsh-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.md | 10 |
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)\ +``` |