Last active
September 3, 2017 20:22
-
-
Save PisoMojado/c6f872914e74217a3b52e84a867459e0 to your computer and use it in GitHub Desktop.
New Terminal Window Script for macOS
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
#!/usr/bin/env bash | |
NEW_TERM_SCRIPT=$(cat <<EOF | |
on run {} | |
tell application "Terminal" | |
do script "" | |
activate | |
end tell | |
return | |
end run | |
EOF | |
) | |
osascript -e "${NEW_TERM_SCRIPT}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment