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