#!/bin/bash open -a Firefox "$@" exit # # Old version below. Switched to above on 08/21/13, when everything else I tried was getting "A copy of Firefox is already open..." # # if [ "$1" = -p ] then shift profile=$1 shift else profile=default fi /Applications/Firefox.app/Contents/MacOS/firefox-bin -P $profile "$@" #/Applications/Firefox.app/Contents/MacOS/firefox-bin -P $1 -no-remote &