Commit Graph

3 Commits

Author SHA1 Message Date
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
Michael Nikitochkin
510d90749f Fix the terraform function name (#6418)
* Fix the terraform function name

Current function name do worse. I always use `terr<TAB>` and before those prompt it was add space in the end. Now because we have multiple functions and binaries started with terraform there are no space.

* Updated terraform readme

Updated the name of new function name
2017-11-14 06:36:22 -08:00
Maciej Lasyk
d12c2ea4e8 Plugins: Terraform (#6373)
Expanded Terraform plugin with function that can be used to show workspace name in the zsh prompt
2017-11-07 07:45:25 -08:00