Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Dynamic named directories and completion



On Mon, 26 Feb 2018 11:44:14 -0500
Scott Frazer <frazer.scott@xxxxxxxxx> wrote:
> This plus the small patch you sent earlier for _expand works, thanks!

I've pushed that as is.  Whether or not tilde forms are expanded are
already configurable --- setting the accept-exact style in the
completer's context would control this.

(Off topic, but I'm not 100% convinced that the REC_EXACT shell option
should have that effect in this completer, as it currently does, since
it's a rather gross and uncontrllable setting that wasn't really
intended for expansion.  But I think all its uses are usurped by the
accept-exact style in the completion system anyway, so probably no big
deal.)

> I feel like expand-or-complete should work too, but as long as the
> _expand patch makes it into the final code I'm happy.

Yes, me too, particularly now Mikael has pointed out ^X*: I'll look
at this separately.

pws



Messages sorted by: Reverse Date, Date, Thread, Author