kickoff icon indicating copy to clipboard operation
kickoff copied to clipboard

Dropping after "="

Open fictitiousexistence opened this issue 1 year ago • 1 comments

Hi again!

I noticed that kickoff will strip off anything after a '=' sign.

Example: File testing.txt includes: Testing = Hello World testing test=Hello World Testing Hello World

And 'cat testing.txt | kickoff --from-stdin --stdout'

Shows the follwing in the menu: Testing testing test Testing Hello World

Real word example is that I have a file with a bunch of url bookmarks I pipe to kickoff: so https://firmware-selector.openwrt.org/?version=22.03.5&target=ath79/generic&id=tplink_eap245-v3 would show in kickoff menu as https://firmware-selector.openwrt.org/?version

Thanks!!!!

fictitiousexistence avatar Jul 12 '23 16:07 fictitiousexistence

Heya ^^

This is kind of expected behavior designed to allow masking of complex commands behind an alias i.e. short names for different firefox profiles. While I myself had no use case for '=' in the displayed name, I can understand why in some use cases it might be benefitial. I think in a previous version enclosing it in quotations would have prevented the equal sign from splitting the input, but I removed it because it's behavior was kinda buggy :sweat_smile:

j0ru avatar Jul 12 '23 17:07 j0ru