Bash completion for go tool.

767 views
Skip to first unread message

DeedleFake

unread,
Feb 8, 2012, 8:39:24 PM2/8/12
to golang-nuts
Hi,

I put together a bash completion script for the go tool and I was
wondering if I could submit it.

Thanks.

Brad Fitzpatrick

unread,
Feb 8, 2012, 11:52:48 PM2/8/12
to DeedleFake, golang-nuts
Sounds cool & sounds like a good candidate for the misc directory (make misc/bash).

Go through the process here:

DeedleFake

unread,
Mar 27, 2012, 9:14:22 AM3/27/12
to golan...@googlegroups.com, DeedleFake
Hi,

A few weeks ago I found out that bash completion allows you to use custom commands, not just bash functions. Just to see how it would work I started writing a completion command for go, in Go. After working on it on and off I realized that it's now more complete, cleaner, and faster than the bash completion script; it even supports godoc and gofmt. May I submit it and see what people think?

On a side note, when I run 'hg change', how do I add new files? Should I run 'hg add' first, or should I simply add the files to the list at the bottom of the change description?

Thanks.

sdeg...@8thlight.com

unread,
Mar 27, 2012, 11:31:15 AM3/27/12
to golan...@googlegroups.com, DeedleFake
It's more complete, cleaner, and faster? Then yes, please share! And please submit it for Go1 before it's too late! :)

-Steven

Brad Fitzpatrick

unread,
Mar 27, 2012, 5:17:00 PM3/27/12
to DeedleFake, golan...@googlegroups.com
Either way works.  hg change's list is what matters, but it will note files which have been hg add'ed.

Andrew Gerrand

unread,
Mar 27, 2012, 8:29:17 PM3/27/12
to sdeg...@8thlight.com, golan...@googlegroups.com, DeedleFake
On 28 March 2012 02:31, <sdeg...@8thlight.com> wrote:
> It's more complete, cleaner, and faster? Then yes, please share! And please
> submit it for Go1 before it's too late! :)

It's already too late.

Andrew

haozes

unread,
Mar 27, 2012, 8:45:12 PM3/27/12
to DeedleFake, golan...@googlegroups.com
Put it out,can we have a look?
Reply all
Reply to author
Forward
0 new messages