Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement