diff options
author | Michael Nikitochkin <miry.sof@gmail.com> | 2017-11-14 15:36:22 +0100 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2017-11-14 06:36:22 -0800 |
commit | 510d90749f156ef5f10b656630191df13a86e989 (patch) | |
tree | cebc1b4c3152ed5badee829abf5858cb462b24a8 /plugins/terraform/terraform.plugin.zsh | |
parent | 2bd24f7e0de0ab2fa6131f15f49d3d86f4d7f4a8 (diff) | |
download | zsh-510d90749f156ef5f10b656630191df13a86e989.tar.gz zsh-510d90749f156ef5f10b656630191df13a86e989.tar.bz2 zsh-510d90749f156ef5f10b656630191df13a86e989.zip |
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
Diffstat (limited to 'plugins/terraform/terraform.plugin.zsh')
-rw-r--r-- | plugins/terraform/terraform.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/terraform/terraform.plugin.zsh b/plugins/terraform/terraform.plugin.zsh index 84eec5cc1..b170f73a6 100644 --- a/plugins/terraform/terraform.plugin.zsh +++ b/plugins/terraform/terraform.plugin.zsh @@ -1,4 +1,4 @@ -function terraform_prompt_info() { +function tf_prompt_info() { # check if in terraform dir if [ -d .terraform ]; then workspace=$(terraform workspace show 2> /dev/null) || return |