fix(sh): open on macOS

This commit is contained in:
winston 2023-09-20 18:46:22 +02:00
parent 2049f5f0d6
commit 76fe2f587d
Signed by: winston
GPG key ID: 3786770EDBC2B481

View file

@ -1,4 +1,7 @@
# vim:ft=zsh
# exit early if we're on macOS
[[ $(uname) == "Darwin" ]] && return
function open() {
nohup xdg-open "$*" > /dev/null 2>&1
}