Created
February 26, 2024 23:52
-
-
Save jordanst3wart/1cd5e43f32402a2b83d5f10b2cdc4f2d to your computer and use it in GitHub Desktop.
Search google from the cli
This file contains hidden or 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 | |
# add to .zshrc on mac | |
# assumes firefox developer edition installed | |
# uses $1 to search google | |
# works like `google "hi"` | |
google () { | |
open "/Applications/Firefox Developer Edition.app" "https://google.com.au/search?q=$1" | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment