diff --git a/home/apps/zsh/functions/open b/home/apps/zsh/functions/open index 05ea916..79b8ae8 100644 --- a/home/apps/zsh/functions/open +++ b/home/apps/zsh/functions/open @@ -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 }