choose icon indicating copy to clipboard operation
choose copied to clipboard

[FR] Allow to trigger choose with empty list and other requests...

Open idr4n opened this issue 4 years ago • 2 comments

Hi, and thanks for a very cool app. I have been trying to adapt some of my workflow from linux (using rofi) to Mac, and choose has made it possible to great extent.

  • I would like to request to be able to trigger choose without piping in any list of options. This is so I can use it in scripts to capture simple text. Basically, I want to be able to get just the entry box with $ choose -m.

  • Also to have to option to paste text from the clipboard.

  • Finally, to have the option to display the number of matches.

Thanks in advance!

idr4n avatar May 25 '21 11:05 idr4n

Hey there, if you'd like to take a crack at implementing any of these feature requests, I'd be happy to review! Otherwise, my time is currently spent elsewhere, although I'll add these to the backlog :)

chipsenkbeil avatar Aug 04 '21 04:08 chipsenkbeil

If choose allow passing in an initial string, and -p will be the flag allowing for this mechanism, then pasting from clipboard can be done with choose -p $(pbpaste).

Inc0n avatar Sep 09 '21 19:09 Inc0n