main
#!/usr/bin/env bash if [ "$(uname -a | grep -ci DARWIN)" != 1 ]; then echo "Sorry, this script only works on macOS" exit 1 fi IFS='+' query="$*" exec open "https://www.google.com/#q=${query}"