Skip to content

Instantly share code, notes, and snippets.

@Starefossen
Created April 22, 2019 18:22
Show Gist options
  • Save Starefossen/ea624b6da1b4e12e9b06e7b1e0254ca5 to your computer and use it in GitHub Desktop.
Save Starefossen/ea624b6da1b4e12e9b06e7b1e0254ca5 to your computer and use it in GitHub Desktop.
Get default browser on macOS
VERSIONER_PERL_PREFER_32_BIT=1 perl -MMac::InternetConfig -le 'print +(GetICHelper "http")[1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment