From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4276 invoked from network); 18 Jun 2001 09:22:27 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 18 Jun 2001 09:22:27 -0000 Received: (qmail 24365 invoked by alias); 18 Jun 2001 09:21:40 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14957 Received: (qmail 24350 invoked from network); 18 Jun 2001 09:21:39 -0000 X-Authentication-Warning: candle.brasslantern.com: schaefer set sender to lantern@shell10.ba.best.com using -f From: "Bart Schaefer" Message-Id: <1010618091849.ZM27654@candle.brasslantern.com> Date: Mon, 18 Jun 2001 09:18:49 +0000 In-Reply-To: <200106180746.JAA11360@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "Re: .. completion" (Jun 18, 9:46am) References: <200106180746.JAA11360@beta.informatik.hu-berlin.de> X-Mailer: Z-Mail (5.0.0 30July97) To: Sven Wischnowsky , zsh-workers@sunsite.dk Subject: Re: .. completion MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 18, 9:46am, Sven Wischnowsky wrote: } Subject: Re: .. completion } } [moved to -workers] } } Bart Schaefer wrote: } } > ... } > } > In _path_files, the special-dirs style is looked up only as a string, but } > the documentation says it may be either a string or a boolean. So the handling of special-dirs is really done in the C code for compfiles? } > However, in _files, _path_files is always called with -g option, so the } > special-dirs style doesn't work at all for _files. } } Eh? Works for me. And _files can call _path_files without the -g } option, in line 80. I'm sorry, I must be mis-reading the difference between _path_files -g "$pat" "$opts[@]" "$expl[@]" && ret=0 and _path_files "$expl[@]" -g "$pat" "$opts[@]" && ret=0 In any case, special-dirs doesn't work for me. I finally narrowed it down to this: zstyle ':completion:*' file-sort modification Why should the file-sort style have any effect at all on special-dirs? -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net