打开Alfred Preferences - Features - Terminal / Shell
更改Application为Customer
替换成以下代码:
1 2 3 4 5 6 7 8 9 10 11 12
on alfred_script(q) tell application "System Events" tell application "iTerm2" create window with default profile delay 0.5 tell current session of current window write text q end tell end tell end tell