Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Redirection completion
- X-seq: zsh-workers 16833
- From: Sven Wischnowsky <wischnow@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Redirection completion
- Date: Thu, 14 Mar 2002 15:43:24 +0100
- In-reply-to: <4539.1016116878@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20020314135129.GA7723@xxxxxxxxxx> <4539.1016116878@xxxxxxx>
Peter Stephenson wrote:
> 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.
Err... just to make sure: everyone's aware that $service is set, yes?
I've put an example in _gcc.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author