bash completion

Matt Mackall mpm at selenic.com
Tue Aug 16 21:27:58 CDT 2005


On Tue, Aug 16, 2005 at 10:16:04PM -0400, Dan Christensen wrote:
> "Alexis S. L. Carvalho" <alexis at cecm.usp.br> writes:
> 
> > Attached is a file that implements bash completion for hg.  Just
> > reading it from your .bashrc should be enough to use it - I think: I'm
> > using the /etc/bash_completion from debian and I'm not sure whether it
> > sets some important option.
> 
> I use Debian, and wasn't able to get this to work.  I saved it to
> a file .hg_bash_completion and did:
> 
>   . .hg_bash_completion
> 
> But there was no effect.  For example, typing "hg comm<tab>" produced
> no suggested completions.
> 
> I'm using hg 0.6b.
> 
> Any suggestions?  Do I need a newer hg?

Probably. Works fine here with the tip version and Debian.

0.6c should be showing up as soon as I can stop tinkering with stuff.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list