zsh-workers
 help / color / mirror / code / Atom feed
* Go completion support
@ 2011-05-23 10:23 İsmail Dönmez
  2011-05-23 12:29 ` Peter Stephenson
  0 siblings, 1 reply; 6+ messages in thread
From: İsmail Dönmez @ 2011-05-23 10:23 UTC (permalink / raw)
  To: zsh-workers


[-- Attachment #1.1: Type: text/plain, Size: 142 bytes --]

Hi;

Attached is the go completion file from official go HG repository. It would
be nice to get it in before the release :-)

Regards,
ismail

[-- Attachment #1.2: Type: text/html, Size: 225 bytes --]

[-- Attachment #2: go --]
[-- Type: application/octet-stream, Size: 233 bytes --]

# install in /etc/zsh/zshrc or your personal .zshrc

# gc
prefixes=(5 6 8)
for p in $prefixes; do
	compctl -g "*.${p}" ${p}l
	compctl -g "*.go" ${p}g
done

# standard go tools
compctl -g "*.go" gofmt

# gccgo
compctl -g "*.go" gccgo

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-05-23 13:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-23 10:23 Go completion support İsmail Dönmez
2011-05-23 12:29 ` Peter Stephenson
2011-05-23 12:33   ` İsmail Dönmez
2011-05-23 12:34   ` İsmail Dönmez
2011-05-23 12:57     ` Peter Stephenson
2011-05-23 13:08       ` Mikael Magnusson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).