mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-12 01:11:27 +02:00
18 lines
257 B
Text
18 lines
257 B
Text
#compdef gccgo gofmt 5l 6l 8l 5g 6g 8g
|
|
|
|
# This is for the computer language go,
|
|
# http://glolang.org.
|
|
|
|
local expl pat
|
|
|
|
case $service in
|
|
(<->l)
|
|
pat="*.${service[1,-2]}"
|
|
;;
|
|
|
|
(*)
|
|
pat="*.go"
|
|
;;
|
|
esac
|
|
|
|
_wanted files expl "input file" _files -g "$pat"
|