Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm not sure I understand you...

I can't change Slack source code to invoke `firefox $url` for me instead of xdg-open it currently invokes.

If you know a way, please share.



How about just:

'firefox url'

directly on the terminal?


yes, lol, just copy the url, find/open a terminal window, type out `firefox `, paste the url, and press enter. So much easier.

To be clear, the override script is closer to going ...

    mkdir ~/custombin/
    ln $(which firefox) ~/custombin/xdg-open
    PATH=~/custombin:$PATH slack
... than going `firefox url`




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: