1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-12 08:50:08 +00:00

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

This commit is contained in:
Jeremy Jones 2018-06-23 23:52:53 -05:00 committed by Marc Cornellà
parent 6c1dab2320
commit 547a6ce260

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