Fix bin/open for macos

This commit is contained in:
Henrik Lissner 2017-04-26 14:52:50 -04:00
parent 19f45762e6
commit 4028bbe259

View file

@ -1,8 +1,8 @@
#!/usr/bin/env bash
case $OSTYPE in
darwin*) open $@ ;;
linux*) xdg-open $@ ;;
darwin*) /usr/bin/open "$@" ;;
linux*) xdg-open "$@" ;;
esac
# OPTIONAL: requires shell/tmux