1
0
mirror of https://github.com/golang/go synced 2024-11-12 03:50:21 -07:00

misc/bash/go: Add a completion rule for "go env".

"env" is a valid go command. This patch is to make bash to autocomplete it.

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/74660045
This commit is contained in:
Rui Ueyama 2014-03-17 11:58:02 -07:00 committed by Brad Fitzpatrick
parent 63f4e4a14b
commit 2940dd4bf4

View File

@ -20,7 +20,7 @@ _go()
local cmd="${COMP_WORDS[1]}"
local cmds="build clean doc fix fmt get
local cmds="build clean env doc fix fmt get
install list run test tool version vet"
local addhelp="gopath importpath remote
testflag testfunc"