michael-lazar / rtv

Browse Reddit from your terminal
MIT License
4.64k stars 273 forks source link

When you set $RTV_BROWSER variable to a program with options like "mybrowser -u" it basicly doesn't work #701

Closed roket1428 closed 4 years ago

roket1428 commented 5 years ago

Basicly, I have a script that handles all kind of links. Its main idea is it reads url from clipboard if you haven't pass any option. Although, I have a "-u" option [that stands for URL of course. :)] for overriting it. So, when I use it as "myscript -u" in rtv, it basicly doesn't work. But when I use it without any option, it works (I mean, rtv works, not my script because of no URL passed via "-u" option).

I can use it with "firefox" though. But same issue happens on firefox too when I use "firefox --new-tab" as RTV_BROWSER (for --new-tab option check "man firefox" out).

Here is the output of RTV_BROWSER="firefox --new-tab"

Here is the output of RTV_BROWSER="firefox --new-tab "

BTW, I don't use mimecap and I don't want to use it and I think that program shouldn't force user to use mimecap. Your sincerly.

EDIT: I forgot to mention that I also have tried RTV_URLVIEWER.

roket1428 commented 4 years ago

I see the project is dead.