Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Redirection completion
- X-seq: zsh-workers 16802
- From: Sven Wischnowsky <wischnow@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Redirection completion
- Date: Mon, 11 Mar 2002 13:08:42 +0100
- In-reply-to: <19534.1015846146@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <15500.37377.808155.293654@xxxxxxxxxxxxxxxxxx> <19534.1015846146@xxxxxxx>
Peter Stephenson wrote:
> ...
>
> Sorry, I didn't make my question clear. I understand how it looks for
> what to execute to find completions (though I wouldn't have guessed
> about `-redirect--default-' without looking at the code, although that's
> logical). My question was, when I get where I'm going and try
> completion, what context is seen by styles? 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 look
> 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?
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author