Created
April 19, 2014 05:18
-
-
Save ysawa/11074867 to your computer and use it in GitHub Desktop.
Search words and phrases with Google Chrome.
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/bash | |
query=$(printf " %s" "$@") | |
query=${query:1} | |
/usr/bin/open -a "/Applications/Google Chrome.app" "https://google.com/search?q=$query" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment