From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25386 invoked from network); 12 Mar 2000 00:51:37 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 12 Mar 2000 00:51:37 -0000 Received: (qmail 11508 invoked by alias); 12 Mar 2000 00:51:29 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10081 Received: (qmail 11496 invoked from network); 12 Mar 2000 00:51:28 -0000 Date: Sun, 12 Mar 2000 00:51:27 +0000 From: Adam Spiers To: zsh-workers@sunsite.auc.dk Subject: Re: _files vs _path_files discussion (old thread) Message-ID: <20000312005127.A28688@thelonious.new.ox.ac.uk> Reply-To: Adam Spiers Mail-Followup-To: zsh-workers@sunsite.auc.dk References: <199909170728.JAA01949@beta.informatik.hu-berlin.de> <20000311222225.A27795@thelonious.new.ox.ac.uk> <1000312001854.ZM26814@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <1000312001854.ZM26814@candle.brasslantern.com>; from schaefer@candle.brasslantern.com on Sun, Mar 12, 2000 at 12:18:53AM +0000 X-Home-Page: http://www.new.ox.ac.uk/~adam/ X-OS: Linux 2.2.12 i686 Bart Schaefer (schaefer@candle.brasslantern.com) wrote: > On Mar 11, 10:22pm, Adam Spiers wrote: > } Subject: Re: _files vs _path_files discussion (old thread) > } > } > > A second issue is whether, if you find target files in the current > } > > directory, you might still want to complete directories. > } > } Does the new zstyle stuff now provide some kind of configurability to > } solve this issue? > > Yes, it's the tag-order style. Ah, so I was right after all. > By putting all the tags in the same argument, they're all treated as > equal for purposes of completions. You could also do > > zstyle ':completion::complete:tar::' \ > tag-order 'globbed-files directories' all-files That's exactly what I'd tried, with once difference; as I mentioned, I want this behaviour everywhere, not just for tar, so I'd tried: zstyle ':completion::complete:*' \ tag-order 'globbed-files directories' all-files However, neither your version nor mine seem to work. Maybe I'm just missing a bugfix because I'm behind on patches. Adam