Skip to content

Instantly share code, notes, and snippets.

@deed02392
deed02392 / foo{1..6}.bar.baz.scpt
Last active Jun 14, 2019
AppleScript for iTerm2 which SSHs into multiple hosts with split panes across two rows
View foo{1..6}.bar.baz.scpt
-- Save me in ~/Library/Application Support/iTerm2/Scripts, then restart iTerm2 and find me in the Scripts menu
set hostnames to {"foo1.bar.baz", "foo2.bar.baz", "foo3.bar.baz", "foo4.bar.baz", "foo5.bar.baz", "foo6.bar.baz"}
tell application "iTerm"
activate
create window with default profile
tell current tab of current window
select
tell current session
write text "ssh " & (item 1 of hostnames)
View TV Episode Highlights!.md

Ray Donovan

You're so crass

Fish and Bird - 4x06 - 21:38

Tom and Jerry

I Love You - It is a Burning Flame

The Zoot Cat - 1940x13 - 4:44

Le Bureau des Légendes