dotfiles/bin/x-open
2021-08-27 11:30:50 +08:00

7 lines
142 B
Bash
Executable File

#!/bin/sh
case $(uname -r) in
*microsoft*) powershell.exe -noprofile start-process "'$@'";;
*) exo-open "$@" 1>/dev/null 2>&1;;
esac