Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: _path_files and completeinword
- X-seq: zsh-workers 5763
- From: "Andrej Borsenkow" <borsenkow.msk@xxxxxx>
- To: "Sven Wischnowsky" <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>, <zsh-workers@xxxxxxxxxxxxxx>
- Subject: RE: _path_files and completeinword
- Date: Thu, 11 Mar 1999 20:51:39 +0300
- Importance: Normal
- In-reply-to: <199903100944.KAA16241@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
>
> `_path_files' does the matching itself -- and sometimes things get too
> hard for it.
> To allow `-g ...' patterns, it has to append these patterns to the
> string from the line and then use that to generate filenames.
Sorry? I don't understand it. The meaning of `-g' is: "take as possible
matches the files that match given glob pattern(s)". The matches are only
*possible* - that is, they still have to match comand line to be included in
completion list.
If _path_files does something else, that means
- it implements different completion as was always used in zsh
- this is a bug
If we return to example (/t/s/z/D/z<CURSOR>i - implying
/tools/src/zsh-xxx/Doc/zsh.texi), then it means, that _path_files should
take a list of files in /tools/src/zsh-xxx/Doc that match given glob pattern
(let it be *.texi) and then match them against z*i.
/andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author