Last active
May 18, 2022 20:34
-
-
Save pasela/6051206 to your computer and use it in GitHub Desktop.
[alfred] Open ssh in iTerm (Alfred Workflow)
This file contains hidden or 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
tell application "iTerm" | |
activate | |
tell the first terminal | |
set ssh_session to (make new session at end of sessions) | |
tell ssh_session | |
exec command "ssh {query}" | |
end tell | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Escaping