From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19424 invoked from network); 15 Dec 2003 20:03:10 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 15 Dec 2003 20:03:10 -0000 Received: (qmail 2247 invoked by alias); 15 Dec 2003 20:03:00 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19293 Received: (qmail 2215 invoked from network); 15 Dec 2003 20:02:59 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 15 Dec 2003 20:02:59 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [193.109.254.211] by sunsite.dk (MessageWall 1.0.8) with SMTP; 15 Dec 2003 20:2:59 -0000 X-VirusChecked: Checked X-Env-Sender: okiddle@yahoo.co.uk X-Msg-Ref: server-3.tower-36.messagelabs.com!1071518577!2516480 X-StarScan-Version: 5.1.13; banners=-,-,- Received: (qmail 21527 invoked from network); 15 Dec 2003 20:02:57 -0000 Received: from iris.logica.co.uk (158.234.9.163) by server-3.tower-36.messagelabs.com with SMTP; 15 Dec 2003 20:02:57 -0000 Received: from gmcs3.local ([158.234.142.61]) by iris.logica.co.uk (8.12.3/8.12.3/Debian -4) with ESMTP id hBFK2vuB009769 for ; Mon, 15 Dec 2003 20:02:57 GMT Received: from gmcs3.local (localhost [127.0.0.1]) by gmcs3.local (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id hBFK78r06398 for ; Mon, 15 Dec 2003 21:07:08 +0100 X-VirusChecked: Checked X-StarScan-Version: 5.0.7; banners=.,-,- In-reply-to: <1031215193717.ZM13527@candle.brasslantern.com> From: Oliver Kiddle References: <20031213154651.GR18859@strindberg.dsv.su.se> <1031213191918.ZM5325@candle.brasslantern.com> <20031213233905.GW18859@strindberg.dsv.su.se> <3213.1071488991@gmcs3.local> <1031215170258.ZM12804@candle.brasslantern.com> <5719.1071514564@gmcs3.local> <1031215193717.ZM13527@candle.brasslantern.com> To: Zsh workers Subject: Re: Completion in pwd before subdirecories Date: Mon, 15 Dec 2003 21:07:08 +0100 Message-ID: <6396.1071518828@gmcs3.local> Bart wrote: > > So why aren't we using "_files -g '*.gz(.)'" in that case? That's actually a much better plan. I was thinking in terms of keeping the most common case simple instead of the most general case but I think you're right. That'll need patching a lot of files so unless someone else wants to volunteer I'll try to find time to do it at some stage. > It's quite possible that I'm still missing something, though. We still need to ask whether the user should need a file-patterns style to achieve directories after files for the original menu completion question. Is globbed-files somewhere defaulting to `*'. Should it perhaps default to `*(.)'? I've not looked at _files but try ^Xh after something like `cat' or `:' with and without a file-patterns style. Oliver