Created
February 25, 2014 14:49
-
-
Save mrdcbrush/9210231 to your computer and use it in GitHub Desktop.
Open Brew (Mac Brew) Project URL from the Command Line
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 | |
URL=$(brew info $1 | head -2 | tail -1) | |
open $URL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have it existing as bi in /usr/local/bin when I want to open the project url for a brew package I type
And the site opens in my default browser (Safari)