2018-10-31 17:47:17 +08:00
|
|
|
#!/usr/bin/osascript
|
|
|
|
|
2019-08-12 11:50:43 +08:00
|
|
|
if application "iTerm" is running then
|
|
|
|
tell application "iTerm"
|
2018-10-31 17:47:17 +08:00
|
|
|
create window with default profile
|
|
|
|
end tell
|
|
|
|
else
|
2019-08-12 11:50:43 +08:00
|
|
|
tell application "iTerm" to activate
|
2018-10-31 17:47:17 +08:00
|
|
|
end if
|