Skip to content

Instantly share code, notes, and snippets.

@sukeharu
Last active May 6, 2017 11:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sukeharu/9cd42aa93b2913c746316d043faadd87 to your computer and use it in GitHub Desktop.
Save sukeharu/9cd42aa93b2913c746316d043faadd87 to your computer and use it in GitHub Desktop.
Open in Terminal and Sublime Text AppleScript
on run {input, parameters}
tell application "Terminal"
activate
tell front document
do script "cd " & input & "; subl ."
end tell
end tell
return input
end run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment