Skip to content

Instantly share code, notes, and snippets.

@modille
Created April 11, 2017 16:31
Show Gist options
  • Save modille/72471de5ba5e5525d3827731d65c0b1d to your computer and use it in GitHub Desktop.
Save modille/72471de5ba5e5525d3827731d65c0b1d to your computer and use it in GitHub Desktop.
Use iTerm2 for the Terminal/Shell feature in Alfred
on alfred_script(q)
tell application "iTerm2"
activate
tell current window
create tab with default profile
select
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