From 5f743e1a84b9c23004bd9e4f6995939b7674d4cc Mon Sep 17 00:00:00 2001 From: tom-apfm <51799266+tom-apfm@users.noreply.github.com> Date: Wed, 26 Jun 2019 06:20:41 -0700 Subject: [PATCH 1/2] terraform: update README (#7934) Add better usage instructions for the plugin which actually work --- plugins/terraform/README.md | 11 ++++++++--- 1 file 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%} ' ``` From 7b2c4327e7d40ec17b72fe7fce3031dfc92fb165 Mon Sep 17 00:00:00 2001 From: Jacky Wu Date: Fri, 28 Jun 2019 00:49:00 +0800 Subject: [PATCH 2/2] golang: add missing gom alias to README (#7961) --- plugins/golang/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/golang/README.md b/plugins/golang/README.md index 72845b2a1..0a1b43c30 100644 --- a/plugins/golang/README.md +++ b/plugins/golang/README.md @@ -21,6 +21,7 @@ plugins=(... golang) | gog | `go get` | Downloads packages and then installs them to $GOPATH | | goi | `go install` | Compiles and installs packages to $GOPATH | | gol | `go list` | Lists Go packages | +| gom | `go mod` | Access to operations on modules | | gop | `cd $GOPATH` | Takes you to $GOPATH | | gopb | `cd $GOPATH/bin` | Takes you to $GOPATH/bin | | gops | `cd $GOPATH/src` | Takes you to $GOPATH/src |