Last active
August 5, 2016 08:09
-
-
Save kaminomisosiru/302a05347c07f71b85b2eca9477a39a5 to your computer and use it in GitHub Desktop.
open iTerm here
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
on run {input, parameters} | |
set _posixPath to POSIX path of input | |
tell application "iTerm" | |
tell current window | |
tell current session of (create window with default profile) | |
write text "cd '" & _posixPath & "'" | |
end tell | |
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