From 8a39ee361feb9bf46d728ff1ba4f07ca1d9610b1 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 19 Jun 2014 09:22:53 +0200 Subject: Imported Upstream version 1.3 --- misc/bash/go | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'misc/bash/go') diff --git a/misc/bash/go b/misc/bash/go index f5d79e41a..50f4f720b 100644 --- a/misc/bash/go +++ b/misc/bash/go @@ -20,10 +20,9 @@ _go() local cmd="${COMP_WORDS[1]}" - local cmds="build clean doc fix fmt get + local cmds="build clean env fix fmt get install list run test tool version vet" - local addhelp="gopath importpath remote - testflag testfunc" + local addhelp="c gopath importpath packages testflag testfunc" local other="help" if [ "$COMP_CWORD" == 1 ]; then @@ -88,9 +87,6 @@ _go() COMPREPLY=(`_go_importpath "$cur"`) fi ;; - 'doc') - COMPREPLY=(`_go_importpath "$cur"`) - ;; 'fix') COMPREPLY=(`_go_importpath "$cur"`) ;; @@ -188,15 +184,9 @@ _go() 'dist') # TODO: Implement something. #_go_tool_dist ;; - 'ebnflint') # TODO: Implement something. - #_go_tool_ebnflint - ;; 'fix') # TODO: Implement something. #_go_tool_fix ;; - 'gotype') # TODO: Implement something. - #_go_tool_gotype - ;; 'nm') # TODO: Implement something. #_go_tool_nm ;; @@ -206,9 +196,6 @@ _go() 'pprof') # TODO: Implement something. #_go_tool_pprof ;; - 'prof') # TODO: Implement something. - #_go_tool_prof - ;; 'vet') # TODO: Implement something. #_go_tool_vet ;; -- cgit v1.2.3