Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Globbing question
- X-seq: zsh-users 8002
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Globbing question
- Date: Thu, 16 Sep 2004 17:20:59 +0200
- In-reply-to: <200409161430.i8GEUUoK012318@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <BD59728F-078D-11D9-8D39-000A95D2C79E@xxxxxxxxxxxxxxxx> <200409161430.i8GEUUoK012318@xxxxxxxxxxxxxx>
Peter wrote:
>
> The answer to both this and the next question is that unfortunately you
> can't use glob qualifiers in ignored patterns. They are handled as
> generic patterns, not specifically file patterns. This is rather a
> nuisance.
I wouldn't say it is a nuisance. You can use the file-patterns style
instead to add glob qualifiers where _files is used for completing
files.
_path_files is used for completing files in this case, however. What we
need to ask is why someone should want to complete non-executable files
in command position. (I assume it may be related to suffix aliases). The
necessary change may then be simple. Or at least it would be if the
whole _autocd, _cd stuff wasn't very complicated.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author