#!/bin/sh if [ "$(uname)" == "Darwin" ]; then open $@ elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then xdg-open $@ else echo "Platform Not supported" fi