Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: listing pathnames with metacharacters
- X-seq: zsh-workers 17139
- From: Sven Wischnowsky <wischnow@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: listing pathnames with metacharacters
- Date: Mon, 13 May 2002 13:16:53 +0200
- In-reply-to: <6134254DE87BD411908B00A0C99B044F0360CE18@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <6134254DE87BD411908B00A0C99B044F0360CE18@xxxxxxxxxxxxxxxxxxxxxxx>
Borsenkow Andrej wrote:
> Actually I just realized that in other context completion correctly lists
> unquoted matches (while inserting quoted versions of course):
>
> bor@itsrm2% info ZSH Completion\ System
> Completing menu item
> Command Execution --
> Completion System --
> Completion Using compctl --
> ...
>
> But for file names it both lists and inserts quoted version:
>
> bor@itsrm2% l a\ b/
> Completing files
> a\ b/ c\ d/ uudecode/
>
> is it intentional? I too would like to see unquoted file names in list. Am I
> wrong or it was this way at some point?
No it's the (core of) _describe which is causing this exception. I'll
have a look. It was always (intended to be) the case that the list
contained the words in quoted form. I vaguely remember some discussion
about this and the argument for using quotes that this should make
clearer which parts in the list belong together and which are really
separate matches.
Though this is probably less of an issue in the cases where _describe
is used.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author