diff options
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              ;; | 
