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 #!/usr/bin/env bash
case $OSTYPE in case $OSTYPE in
darwin*) open $@ ;; darwin*) /usr/bin/open "$@" ;;
linux*) xdg-open $@ ;; linux*) xdg-open "$@" ;;
esac esac
# OPTIONAL: requires shell/tmux # OPTIONAL: requires shell/tmux