summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorTristan Messner <tristanmessner@gmail.com>2019-04-21 20:20:23 -0400
committerMarc Cornellà <hello@mcornella.com>2021-09-16 16:59:03 +0200
commit4bd5d03e51ae289a986ab63e94bf4e1c96a75786 (patch)
tree73a91b93faf135d7e4a21e0b5128312779749427 /plugins
parent29ec52602ff947675ea9a1788d62c0c552bd01af (diff)
downloadzsh-4bd5d03e51ae289a986ab63e94bf4e1c96a75786.tar.gz
zsh-4bd5d03e51ae289a986ab63e94bf4e1c96a75786.tar.bz2
zsh-4bd5d03e51ae289a986ab63e94bf4e1c96a75786.zip
feat(golang): add `goga` alias to install dependencies in current directory, recursively (#7786)
Closes #7786
Diffstat (limited to 'plugins')
-rw-r--r--plugins/golang/README.md1
-rw-r--r--plugins/golang/golang.plugin.zsh1
2 files changed, 2 insertions, 0 deletions
diff --git a/plugins/golang/README.md b/plugins/golang/README.md
index 0c90aa10b..af2c4dff9 100644
--- a/plugins/golang/README.md
+++ b/plugins/golang/README.md
@@ -19,6 +19,7 @@ plugins=(... golang)
| gof | `go fmt` | Gofmt formats (aligns and indents) Go programs. |
| gofa | `go fmt ./...` | Run go fmt for all packages in current directory, recursively |
| gog | `go get` | Downloads packages and then installs them to $GOPATH |
+| gog | `go get ./...` | Installs all dependencies in current directory, recursively |
| goi | `go install` | Compiles and installs packages to $GOPATH |
| gol | `go list` | Lists Go packages |
| gom | `go mod` | Access to operations on modules |
diff --git a/plugins/golang/golang.plugin.zsh b/plugins/golang/golang.plugin.zsh
index eedde2573..fce663fd6 100644
--- a/plugins/golang/golang.plugin.zsh
+++ b/plugins/golang/golang.plugin.zsh
@@ -263,6 +263,7 @@ alias god='go doc'
alias gof='go fmt'
alias gofa='go fmt ./...'
alias gog='go get'
+alias goga='go get ./...'
alias goi='go install'
alias gol='go list'
alias gom='go mod'