bash completion

Matt Mackall mpm at selenic.com
Tue Aug 16 17:20:39 CDT 2005


On Tue, Aug 16, 2005 at 07:06:30PM -0300, Alexis S. L. Carvalho wrote:
> 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.
> 
> It gets the list of commands, aliases and options from the output of hg
> help and then adds some specific stuff - e.g. completing update with
> tags; pull and push with path aliases and directories, etc.
> 
> Matt: if you want to include this in contrib, go ahead.

Great, thanks.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list