Created
July 24, 2012 06:37
-
-
Save prisoner/3168408 to your computer and use it in GitHub Desktop.
_go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#compdef go | |
_arguments "1:commands:((\ | |
build\:'compile packages and dependencies' \ | |
clean\:'remove object files' \ | |
doc\:'run godoc on package sources' \ | |
env\:'print Go environment information' \ | |
fix\:'run go tool fix on packages' \ | |
fmt\:'run gofmt on package sources' \ | |
get\:'download and install packages and dependencies' \ | |
install\:'compile and install packages and dependencies' \ | |
list\:'list packages' \ | |
run\:'compile and run Go program' \ | |
test\:'test packages' \ | |
tool\:'run specified go tool' \ | |
version\:'print Go version' \ | |
vet\:'run go tool vet on packages' \ | |
))" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment