From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11991 invoked from network); 27 Jan 2003 10:07:00 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 27 Jan 2003 10:07:00 -0000 Received: (qmail 10894 invoked by alias); 27 Jan 2003 10:06:29 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5835 Received: (qmail 10885 invoked from network); 27 Jan 2003 10:06:28 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 27 Jan 2003 10:06:28 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [212.125.75.12] by sunsite.dk (MessageWall 1.0.8) with SMTP; 27 Jan 2003 10:6:27 -0000 X-VirusChecked: Checked X-Env-Sender: kiddleo@logica.com X-Msg-Ref: server-5.tower-4.messagelabs.com!1043661924!5732 Received: (qmail 17265 invoked from network); 27 Jan 2003 10:05:24 -0000 Received: from iris.logica.co.uk (158.234.9.163) by server-5.tower-4.messagelabs.com with SMTP; 27 Jan 2003 10:05:24 -0000 Received: from finches.logica.co.uk ([158.234.142.11]) by iris.logica.co.uk (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id KAA30552; Mon, 27 Jan 2003 10:05:24 GMT X-Authentication-Warning: iris.logica.co.uk: Host [158.234.142.11] claimed to be finches.logica.co.uk Received: from finches.logica.co.uk (localhost [127.0.0.1]) by finches.logica.co.uk (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id h0RA8BE10818; Mon, 27 Jan 2003 11:08:12 +0100 In-reply-to: <20030124211903.GE6160@io.com> From: Oliver Kiddle References: <1715.1043406768@finches.logica.co.uk> <6134254DE87BD411908B00A0C99B044F03A0B5FF@mowd019a.mow.siemens.ru> <20030124211903.GE6160@io.com> To: John Buttery cc: zsh-users@sunsite.dk Subject: Re: bash convert: new completion system skeleton? Date: Mon, 27 Jan 2003 11:08:11 +0100 Message-ID: <10816.1043662091@finches.logica.co.uk> Sender: kiddleo@logica.com On 24 Jan, you wrote: > > > cool. I guess it could be really useful.=20 > > I second that; I realize that zsh's new zstyle stuff is more powerful > inherently than bash's system, but still I see almost-daily updates to > the "bash-completion" project on freshmeat with new stuff and it would > be great to be able to use it. That is, as long as it doesn't generate > too much unwanted work for someone and doesn't interfere with zsh's own > completion of course. :) They make a release for every tiny change to bash-completion though. There aren't that many programs it handles that zsh doesn't. I've just got a few issues to clear up and I'll post something to do this to -workers in a day or two. Making use of the bash-completion project still won't be entirely easy. It takes a bit of tweaking before I can source the file. Making use of the regular bash_completion updates will require a lot of effort. But for getting your own collection of bash completions to work, it will work fairly well. It was interesting to see in more detail how the bash system works. It is quite a bit less powerful even than compctl and in some respects lacking relative to tcsh. Though using shell code to find out where in the line the cursor is is better than those systems. It can only complete whole arguments at a time and the way it can only fall back on a default glob for half decent file completion is fairly unpleasant. Oliver This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.