diff options
| author | Michael Stapelberg <stapelberg@debian.org> | 2014-06-19 09:22:53 +0200 | 
|---|---|---|
| committer | Michael Stapelberg <stapelberg@debian.org> | 2014-06-19 09:22:53 +0200 | 
| commit | 8a39ee361feb9bf46d728ff1ba4f07ca1d9610b1 (patch) | |
| tree | 4449f2036cccf162e8417cc5841a35815b3e7ac5 /misc/bash/go | |
| parent | c8bf49ef8a92e2337b69c14b9b88396efe498600 (diff) | |
| download | golang-8a39ee361feb9bf46d728ff1ba4f07ca1d9610b1.tar.gz | |
Imported Upstream version 1.3upstream/1.3
Diffstat (limited to 'misc/bash/go')
| -rw-r--r-- | misc/bash/go | 17 | 
1 files changed, 2 insertions, 15 deletions
| 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              ;; | 
