browse-url: Use open in macOS without specifying location
This commit is contained in:
parent
69e58440ab
commit
a832b85ab5
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@
|
||||||
(if-let [script (-> open-url-script deref deref)]
|
(if-let [script (-> open-url-script deref deref)]
|
||||||
(sh script url)
|
(sh script url)
|
||||||
(case os
|
(case os
|
||||||
:mac (sh "/usr/bin/open" url)
|
:mac (sh "open" url)
|
||||||
:linux (sh "xdg-open" url)
|
:linux (sh "xdg-open" url)
|
||||||
:windows (sh "cmd" "/C" "start" url)))))
|
:windows (sh "cmd" "/C" "start" url)))))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue