From: Ingo Molnar Date: Thu, 21 Apr 2005 07:49:08 GMT Subject: Re: [ANNOUNCE] git-pasky-0.6.2 && heads-up on upcoming changes Message-ID: <20050421074908.GA1376@elte.hu> In-Reply-To: * Linus Torvalds wrote: > Yeah, yeah, it looks different from "cvs update", but dammit, wouldn't > it be cool to just write "cg-" and see the command choices? > Or "cg-up" and get cg-update done for you.. add this line to your ~/.bashrc: complete -W "add addremote apply cancel ci commit diff export fork help init log ls lsobj lsremote merge pull rm seek status tag track version" git and you'll get all the argument completions, after "git " (it works on arguments, after the space). (you can even customize it to list only the ones you typically use, to make the completion faster) This first showed up in zsh but now bash knows it too. (see 'Programmable Completions' in man bash) Ingo