Skip to content

Instantly share code, notes, and snippets.

@jsulak
Created April 4, 2012 00:15
Show Gist options
  • Save jsulak/2296598 to your computer and use it in GitHub Desktop.
Save jsulak/2296598 to your computer and use it in GitHub Desktop.
Create new OS X terminal window in current directory and bring to front
#!/bin/sh
osascript <<END
tell app "Terminal" to do script "cd \"`pwd`\""
tell app "Terminal" to activate
END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment