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

Re: How to capture a list of completions from a zle widget



Ok

I already knew about Valodim's solution, I just wanted to be absolutely
sure there was no other way before going with it.

Thanks


On Sun, Oct 27, 2013 at 6:06 PM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>wrote:

> On Oct 27,  9:44pm, Valodim Skywalker wrote:
> }
> } https://github.com/Valodim/zsh-capture-completion
> }
> } If it can be done in a less hacky way, I'd be all ears.
>
> The zpty magic that Valodim is doing there is all so that you can run
> the capture scripts as standalone programs.  If you're just writing a
> widget to run inside ZLE, you don't need all that.
>
> BTW here's a working link to the old Unix Review article that explains
> how the "keeper" functions evolve:
>
>
> http://web.archive.org/web/20050207041146/http://www.unixreview.com/documents/s=9513/ur0501a/ur0501a.htm
>


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