Created
September 12, 2015 12:35
-
-
Save fsegouin/a1621ff62134e470c0b8 to your computer and use it in GitHub Desktop.
Open a command in iTerm2 2.9+ from Alfred
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 alfred_script(q) | |
tell application "iTerm2" | |
activate | |
set newWindow to (create window with default profile) | |
tell current window | |
tell current session | |
write text q | |
end tell | |
end tell | |
end tell | |
end alfred_script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment