From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3560 invoked from network); 14 Mar 2002 14:41:59 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 14 Mar 2002 14:41:59 -0000 Received: (qmail 21418 invoked by alias); 14 Mar 2002 14:41:52 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16832 Received: (qmail 21407 invoked from network); 14 Mar 2002 14:41:51 -0000 To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: Redirection completion In-reply-to: "Oliver Kiddle"'s message of "Thu, 14 Mar 2002 13:51:30 GMT." <20020314135129.GA7723@logica.com> Date: Thu, 14 Mar 2002 14:41:18 +0000 Message-ID: <4539.1016116878@csr.com> From: Peter Stephenson Oliver Kiddle wrote: > If Peter wants to commit his change first, I'll do the merge and > commit my change later. It is only the first line that needs any > merging anyway. > > I'd be tempted to add -redirect-,<,bzip2=bzip2 too so that completion > after bzip2 -c < and bzip2 -cd < also work. Ideally, we should stop it > from completing options but it would still need _arguments with ! specs > if the checks for -d and -z options are still to work. OK, I've done that, except I haven't done anything about option handling. It would be better to have special services for the redirections. I haven't worked out either whether _arguments is aware of the options when it's completing redirections. -- 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. **********************************************************************