Skip to content

Instantly share code, notes, and snippets.

@tennisonchan
Created May 18, 2019 01:10
Show Gist options
  • Save tennisonchan/420c77e47a12b8f3478ece7cdb9897c6 to your computer and use it in GitHub Desktop.
Save tennisonchan/420c77e47a12b8f3478ece7cdb9897c6 to your computer and use it in GitHub Desktop.
launch application "/Applications/iTerm.app"
tell application "iTerm"
create window with default profile
set session1 to current session of current window
tell session1
write text "dev"
write text "pin"
set session2 to (split vertically with default profile)
end tell
tell session2
write text "dev"
write text "opt"
set session3 to (split horizontally with default profile)
end tell
tell session3
write text "dev"
write text "bulk"
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment