Open thezealousfool opened 4 years ago
There's a pull request to make the opener configurable. I'm waiting on the author to respond to my suggested changes, but I might just pull and fix it up myself.
The default should probably not be hard-coded either, but depend on the OS and what's available on the system. Doesn't have to be a compile time thing, it could just check for (xdg)-open, ranger's rifle and maybe others and use what's available by setting it as default option if no opener was set explicitly.
In MacOS, the
open
command is used in the place ofxdg-open
. I see thexdg-open
command has been hard coded in file_browser.rs. Possible solutions include -xdg-open
withopen