fix(sh): open
on macOS
This commit is contained in:
parent
2049f5f0d6
commit
76fe2f587d
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue