Created
January 31, 2012 17:42
-
-
Save fracek/1711794 to your computer and use it in GitHub Desktop.
This file contains hidden or 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