Browse Source

fix path completion issue with go run subcommand (#6929)

Jeremy Jones 6 years ago
parent
commit
547a6ce260
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/golang/golang.plugin.zsh

+ 1 - 1
plugins/golang/golang.plugin.zsh

@@ -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