Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (11 sloc) 195 Bytes
#!/bin/sh
# an OS independent way to open a URL in a browser
os=`uname`
case $os in
Linux)
firefox $1;;
Darwin)
open -a firefox $1;;
*)
echo unknown OS $os;;
esac