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

Re: Silently capture completion options



On Wed, Dec 30, 2020 at 2:27 PM Ryan Beethe <ryan@xxxxxxxxxxxxxxxx> wrote:
>
> I am trying to set up voice control software (talon with a wav2letter
> backend) to work well with shell completion.  I would like to be able to
> capture what the results of a completion *would* be if it ran, but
> without the normal showing of results.

I suspect that Roman's zsh4humans configuration that passes completion
results to fzf could be modified to pass them to the speech backend
instead.

https://github.com/romkatv/zsh4humans/

Specifically

https://github.com/romkatv/zsh4humans/blob/v5/fn/z4h-fzf-complete




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