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

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



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