* Get completions non-interactively
@ 2019-08-15 14:41 Aryn Starr
0 siblings, 0 replies; only message in thread
From: Aryn Starr @ 2019-08-15 14:41 UTC (permalink / raw)
To: zsh-workers
[-- Attachment #1: Type: text/plain, Size: 667 bytes --]
I use a custom-made Telegram bot to be able to send commands to my server. The bot basically runs `zsh -c INPUT` on its input and returns output. (I don’t suppose there is anything like https://github.com/nrepl/nrepl for zsh?)
I sometimes find myself in need of the assistance of zsh’s completion system. Is there any way I can get the candidate completions by running a command?
I have googled, and found https://github.com/Valodim/zsh-capture-completion, but it’s a hack. I imagine it would be better if zsh offered this functionality itself.
PS: Please “reply-all.” I’m not subscribed to the mailing list. (It’s always a good idea to reply-all.)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-08-15 14:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-15 14:41 Get completions non-interactively Aryn Starr
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).