From: Ben Clifford Date: Wed, 16 Nov 2005 03:35:42 GMT Subject: Re: latest stg/git commandline completions code 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. > When you do > > cat > > > 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.