Commit Graph

3 Commits

Author SHA1 Message Date
Paul Seyfert b03195e636 [golang] add buildmode completion
add the build modes from `go help buildmode` to the completion of
`go build -buildmode <TAB>`
2018-10-16 21:27:01 +02:00
Mikkel Oscar Lyderik Larsen 3875707119
Update completetions for Go 1.11
Updates the completions for Go 1.11 which introduced a new `go mod`
command.

https://groups.google.com/forum/#!topic/golang-announce/O7POXMK3xbM

Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
2018-09-04 09:31:23 +02:00
James Short 9362cc2e82 Rename go completion to not collide with zsh file.
There is a _go file in the zsh functions directory that would be found
first if you use OMZ with zsh-completions.  This is an ancient file in
zsh and does not complete for the go executable either, but it is still
there on typical zsh distributions.

This change makes it such that zsh/OMZ/zsh-completions can work in
harmony, if one so chooses.
2018-03-16 14:35:18 -07:00