From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9688 invoked from network); 11 Mar 2002 14:03:10 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 11 Mar 2002 14:03:10 -0000 Received: (qmail 14142 invoked by alias); 11 Mar 2002 14:03:01 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16805 Received: (qmail 14127 invoked from network); 11 Mar 2002 14:03:00 -0000 To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: Redirection completion In-reply-to: "Sven Wischnowsky"'s message of "Mon, 11 Mar 2002 13:08:42 +0100." <15500.40522.132670.814408@wischnow.berkom.de> Date: Mon, 11 Mar 2002 14:01:31 +0000 Message-ID: <8153.1015855291@csr.com> From: Peter Stephenson Sven Wischnowsky wrote: > What I'm worring about is > > if I'm in some generic form of redirection completion I can still check > > for `-redirect-echo-2>' in pattern-files, or does the context still just lo > ok > > like `-redirect-2>' or `-redirect--default-'? > > Ah, I see. Currently it is as you fear, it just uses the string for > which it found a completion function. That's obviously silly and I'll > change that this evening. > > But I'm not really sure which string to prefer in each case. I'd > prefer the most specific one, i.e. `-redirect-echo-2>' in this case. > Would that be ok for our users if we document it? I think that would be fine. As my slightly compressed first email was supposed to indicate, I think it's entirely natural in a zstyle command to stick in `*'s where you don't care about the result (or [^:]# if you're really paranoid). I suspect people are perfectly used to this. -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 392070 ********************************************************************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. **********************************************************************