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
-- open new iTerm window for each Alfred terminal command | |
-- for iTerm 3.1.1+ | |
-- based on script by Sinan (https://github.com/stuartcryan/custom-iterm-applescripts-for-alfred) | |
on alfred_script(q) | |
if application "iTerm2" is running or application "iTerm" is running then | |
run script " | |
on run {q} | |
tell application \"iTerm\" | |
activate |