feat: fallback to xdg-open
This commit is contained in:
parent
711b908f4a
commit
aa26ae447a
|
@ -2,5 +2,11 @@
|
|||
|
||||
case $(uname -r) in
|
||||
*microsoft*) powershell.exe -noprofile start-process "'$@'";;
|
||||
*) exo-open "$@" 1>/dev/null 2>&1;;
|
||||
*)
|
||||
if command -v exo-open >/dev/null 2>&1; then
|
||||
exo-open "$@" 1>/dev/null 2>&1
|
||||
else
|
||||
xdg-open "$@"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue
Block a user