Created
May 27, 2021 15:27
-
-
Save SKeenan07/3c769a47f92b6d9b9c2cb289f45fe7ab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
defaultBrowser=$(defaults read ~/Library/Preferences/com.apple.LaunchServices/com.apple.launchservices.secure.plist | grep https -B1 | grep All | awk -F" = " '{ print $2 }' | tr -d '";') | |
open -b "$defaultBrowser" https://www.apple.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment