G
Ryan's Git Repos
nix-files
files
log
graph
refs
Ref
main
users/ryan/modules/simple-bar/simple-bar-source/lib/scripts/run-command-in-iterm2.applescript
main
· 257 B · 9 lines
raw
1
on
run
argv
2
set
commandToRun
to
item
1
of
argv
3
tell
application
"iTerm"
4
set
newWindow
to
(create window
with
default profile)
5
tell
current session
of
newWindow
6
write
text
commandToRun
7
end
tell
8
end
tell
9
end
run