mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-07 07:50:40 +01:00
fix path completion issue with go run subcommand (#6929)
This commit is contained in:
committed by
Marc Cornellà
parent
6c1dab2320
commit
547a6ce260
@@ -135,7 +135,7 @@ __go_tool_complete() {
|
|||||||
run)
|
run)
|
||||||
_arguments -s -w : \
|
_arguments -s -w : \
|
||||||
${build_flags[@]} \
|
${build_flags[@]} \
|
||||||
'*:file:_path_files -g "*.go"'
|
'*:file:_files -g "*.go"'
|
||||||
;;
|
;;
|
||||||
tool)
|
tool)
|
||||||
if (( CURRENT == 3 )); then
|
if (( CURRENT == 3 )); then
|
||||||
|
|||||||
Reference in New Issue
Block a user