Created
April 30, 2011 21:55
-
-
Save uchida/950029 to your computer and use it in GitHub Desktop.
open url in Safari with new Tab
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/sh | |
osascript -e "tell application \"Safari\" | |
tell window 1 | |
set current tab to (make new tab) | |
set currenttab to open location \"$@\" | |
end tell | |
end tell" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment