Re: latest stg/git commandline completions code
- From
Ben Clifford <benc@hawaga.org.uk>
- Date
- Nov 16, 2005, 03:35 UTC
- Message-ID
- <6387EBD2-F476-4A43-B764-3D9F2B653483@hawaga.org.uk>
- In-Reply-To
- <20051110094013.GM30496@pasky.or.cz>
>> There are a few small common functions that are used by all the git >> completions, though.
> Then could you please separate those from the git completion to some > kind of 'library'?
that's done now.
Show 8 quoted lines
> When you do > > cat > <tab><tab> > > bash happily autocompletes as well. I don't think this is a problem, > besides it can be useful when you want to use some existing branch > name, > just slightly modified.
ok, convinced - I changed 'branch' and 'checkout' to complete on new branch name.
http://www.hawaga.org.uk/gitcompletion/git-compl-lib http://www.hawaga.org.uk/gitcompletion/cg-compl
are the two latest versions of the code (source the -lib then the cg- file)
There is no autogeneration - I'm still playing round. Its just good- old-fashioned manually hard coded.
The git repo that I'm keeping this and the other completion code (stg, git and gitk) in is at http://www.hawaga.org.uk/gitcompletion.git
-- Ben ベン Бэн http://www.hawaga.org.uk/ben/ My email is high latency but best way to contact me. Alternatively, SMS number(s) at above URL.