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
tab () { | |
osascript 2>/dev/null <<EOF | |
tell application "iTerm" | |
tell the first terminal | |
launch session "Default" | |
tell the the current session | |
write text "cd $PWD; $*" | |
end tell | |
end tell | |
end tell | |
EOF | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment