Last active
November 11, 2022 08:06
-
-
Save crittelmeyer/2301085348bba522df61 to your computer and use it in GitHub Desktop.
Shell script to open a new Mac OS X terminal tab.
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 -e | |
osascript -e 'tell application "Terminal" to activate' -e 'tell application "System Events" to tell process "Terminal" to keystroke "t" using command down' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment