We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
$BROWSER
1 parent 403c8f4 commit e839f47Copy full SHA for e839f47
src/Native/Linux.cs
@@ -63,7 +63,10 @@ public string FindTerminal(Models.ShellOrTerminal shell)
63
64
public void OpenBrowser(string url)
65
{
66
- Process.Start("xdg-open", url.Quoted());
+ var browser = Environment.GetEnvironmentVariable("BROWSER");
67
+ if (string.IsNullOrEmpty(browser))
68
+ browser = "xdg-open";
69
+ Process.Start(browser, url.Quoted());
70
}
71
72
public void OpenInFileManager(string path, bool select)
0 commit comments