Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion with globbing, take 2
- X-seq: zsh-users 3444
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>, <zsh-users@xxxxxxxxxxxxxx>
- Subject: Re: completion with globbing, take 2
- Date: Wed, 20 Sep 2000 16:12:45 +0000
- In-reply-to: <001a01c02314$69b93f40$21c9ca95@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <001a01c02314$69b93f40$21c9ca95@xxxxxxxxxxxxxx>
On Sep 20, 7:06pm, Andrej Borsenkow wrote:
} Subject: RE: completion with globbing, take 2
}
} I must apologize. For some reason I had impression, that _expand offers all
} possible *completions* in addition to expansions.
There's a possibly-unwarranted assumption that the completions will
include the interesting subset of all expansions, so you wouldn't want
the rest of the expansions as well.
} it is using only _complete so matching won't work
Once again, that's true only if you're using the _expand_word binding.
Matching works fine if you're using complete-word and you have _match
somewhere after _expand in the completer style.
} Actually, you can either insert all completions (without possibility
} to menu select [...]) *or* choose from the expansions. Docs could be
} more clear on this point.
Yes, I'll send a patch separately to zsh-workers. However, it does say:
completions
This style is used by the _expand completer function. If it is set
to `true', the completer will not generate expansions, but instead
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the completions will be generated as normal and all of them will be
inserted into the command line.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author