zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Ryan Beethe <ryan@splintermail.com>
Cc: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Re: Silently capture completion options
Date: Wed, 30 Dec 2020 17:01:12 -0800	[thread overview]
Message-ID: <CAH+w=7aH58YxrgEC+VfVuV2k-hiqDnJYKDkbk2_sTbV7voRQ_g@mail.gmail.com> (raw)
In-Reply-To: <X+z+ocwGnHT7rh84@archenemy.localdomain>

On Wed, Dec 30, 2020 at 2:27 PM Ryan Beethe <ryan@splintermail.com> 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


      parent reply	other threads:[~2020-12-31  1:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-30 22:26 Ryan Beethe
2020-12-30 22:52 ` Ryan Beethe
2020-12-31  1:01 ` Bart Schaefer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH+w=7aH58YxrgEC+VfVuV2k-hiqDnJYKDkbk2_sTbV7voRQ_g@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=ryan@splintermail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).