a guest Jul 21st, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. osascript <<'END' 2>&1 >/dev/null
  3. tell application "iTerm2"
  4.     set windowId to (unique id of current session of current window)
  5.     create window with profile "opterm" command "bash -l /Users/geoff/bin/opterm " & windowId
  6. end tell
  7. END
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand