main
#!/bin/bash # # Force opening a URL with Safari if [[ "$(uname -s)" != 'Darwin' ]]; then echo 'Sorry, this script only works on macOS' exit 1 fi exec open -a "Safari" "$@"