Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: noglob and _match
- X-seq: zsh-workers 12362
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "Sven Wischnowsky" <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>, <zsh-workers@xxxxxxxxxxxxxx>
- Subject: RE: noglob and _match
- Date: Tue, 25 Jul 2000 11:09:58 +0400
- Importance: Normal
- In-reply-to: <200007250650.IAA06314@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
>
> Andrej Borsenkow wrote:
>
> > bor@itsrm2% noglob ls *TAB
> >
> > bor@itsrm2% noglob ls Brodsky/
> > Completing file
> > Brodsky/ addrbook.d/ dikz/ observe/ test/
> > .....
> >
> > Is it correct in this case? I suspect, the same aplies to _expand as
> > well.
>
> Why not? I mean: you explicitly requested completion, so the
> completion system *must* think that you know what you're doing.
>
In this case I want to list all files that start with `*' :-))) I expect
from completion to list *real* arguments. It is the same as listing
shell functions as possible command completion after sudo. Yes, I
requested completion - but I never requested to ignore noglob. Exaclty,
because I used it, completion system *must* think I know what I'm doing.
> And it's pretty damn useful, I'd say. *Especially* with noglob (and
> even more if that noglob is hidden in an alias).
>
I think, it is a matter of personal preference ... what about - first
try with noglob respected, second not (something in the line with
fignore or ingnored-patterns). With two different tags for both? That is
probably not so easy I'm afraid.
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author