Command-line tool for getting & setting the default browser
brew install defaultbrowser
defaultbrowser