Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 17 lines (12 sloc) 223 Bytes
#!/bin/sh
# an OS independent way to open a URL in a browser
os=`uname`
echo "starting $1"
case $os in
Linux)
firefox $1;;
Darwin)
open -a 'Google Chrome' $1;;
*)
echo unknown OS $os;;
esac