fandreuz / TUI-ConsoleLauncher

Linux CLI Launcher for Android
Other
1.24k stars 257 forks source link

search -u command adds 's' to the end #357

Closed nathgit closed 2 years ago

nathgit commented 2 years ago

If I try to use the "search -u" command on a url not ending with search term it adds an 's' to the end. I tried to add an alias & when it did it I tried running the command manually & the same thing happened.

nathgit commented 2 years ago

Here's a couple example URLs: [SEARCH] indicates the search term fdroid (doesn't work) https://search.f-droid.org/?q=[SEARCH]&lang=en

html color codes (doesn't work) https://html-color.codes/[SEARCH] should search for the html color codes for that color. the command used is: alias -add hcolor search -u https://html-color.codes/%s an 's' is added to it which screws it up & redirects it to the homepage.

jisho (works) https://jisho.org/search/[SEARCH]

nathgit commented 2 years ago

I figured it out. You use '%' instead of '%s'. I thought I read that it was the former.