This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "go.mozilla.org/sops/decrypt" | |
import "fmt" | |
import "bytes" | |
import "bufio" | |
import "strings" | |
import "log" | |
//import "go.mozilla.org/sops/vendor/github.com/sirupsen/logrus" | |
//import "go.mozilla.org/sops/logging" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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) |
OlderNewer