fix path completion issue with go run subcommand

This commit is contained in:
Jeremy Jones 2018-06-18 16:42:01 -05:00
commit fca13b5652

View file

@ -135,7 +135,7 @@ __go_tool_complete() {
run)
_arguments -s -w : \
${build_flags[@]} \
'*:file:_path_files -g "*.go"'
'*:file:_files -g "*.go"'
;;
tool)
if (( CURRENT == 3 )); then