Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Go completion support



Hi again;

On Mon, May 23, 2011 at 2:29 PM, Peter Stephenson
<Peter.Stephenson@xxxxxxx>wrote:

> On Mon, 23 May 2011 12:23:59 +0200
> İsmail Dönmez <ismail@xxxxxxxxxxx> wrote:
> > Attached is the go completion file from official go HG repository. It
> > would be nice to get it in before the release :-)
>
> Hmmm.... this is the (very) old-fashioned compctl completion, which
> (probably) works but is unsupported beyond trivial fixes to keep it
> working, and for which we've never supplied a completion library.  It
> could really do with being updated to use the completion system.
>
> From looking at that file, it's going to be something like the
> following...
>
> P.S. I quite like to be told what a completion is actually for without
> having to search Google.
>
> Index: Completion/Unix/Command/_go
> ===================================================================
> RCS file: Completion/Unix/Command/_go
> diff -N Completion/Unix/Command/_go
> --- /dev/null   1 Jan 1970 00:00:00 -0000
> +++ Completion/Unix/Command/_go 23 May 2011 12:27:51 -0000
> @@ -0,0 +1,18 @@
> +#compdef gccgo gofmt 5l 6l 68 5g 6g 8g
>

s/68/8l

ismail


Messages sorted by: Reverse Date, Date, Thread, Author