Created
July 10, 2019 00:37
-
-
Save geoffeg/cdcfd5a28a0cd539db12ae8b8550665b to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
osascript <<'END' 2>&1 >/dev/null | |
tell application "iTerm2" | |
set windowId to (unique id of current session of current window) | |
create window with profile "opterm" command "bash -l /Users/geoff/bin/opterm " & windowId | |
end tell | |
END | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment