Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
547a6ce2
Commit
547a6ce2
authored
Jun 23, 2018
by
Jeremy Jones
Committed by
Marc Cornellà
Jun 24, 2018
Browse files
fix path completion issue with go run subcommand (#6929)
parent
6c1dab23
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/golang/golang.plugin.zsh
View file @
547a6ce2
...
@@ -135,7 +135,7 @@ __go_tool_complete() {
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment