13 lines
266 B
Bash
Executable File
13 lines
266 B
Bash
Executable File
#!/bin/sh
|
|
|
|
case $(uname -r) in
|
|
*microsoft*) powershell.exe -noprofile start-process "'$@'";;
|
|
*)
|
|
if command -v exo-open >/dev/null 2>&1; then
|
|
exo-open "$@" 1>/dev/null 2>&1
|
|
else
|
|
xdg-open "$@"
|
|
fi
|
|
;;
|
|
esac
|