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
Ohmyzsh
Commits
e8aba1bf
Commit
e8aba1bf
authored
Nov 16, 2018
by
Ricardo Seriani
Committed by
Marc Cornellà
Nov 16, 2018
Browse files
golang: support "go help environment" in autocompletion (#7404)
Signed-off-by:
Ricardo Seriani
<
ricardo.seriani@gmail.com
>
parent
ad69c7a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/golang/golang.plugin.zsh
View file @
e8aba1bf
...
@@ -126,6 +126,7 @@ __go_tool_complete() {
...
@@ -126,6 +126,7 @@ __go_tool_complete() {
;;
;;
help
)
help
)
_values
"
${
commands
[@]
}
"
\
_values
"
${
commands
[@]
}
"
\
'environment[show Go environment variables available]'
\
'gopath[GOPATH environment variable]'
\
'gopath[GOPATH environment variable]'
\
'packages[description of package lists]'
\
'packages[description of package lists]'
\
'remote[remote import path syntax]'
\
'remote[remote import path syntax]'
\
...
...
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