Created
July 6, 2010 08:05
-
-
Save dusdanig/465144 to your computer and use it in GitHub Desktop.
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
alias tab=new_terminal_working_directory | |
function new_terminal_working_directory() { | |
osascript <<END | |
tell application "Terminal" | |
tell application "System Events" to tell process "Terminal" to keystroke "t" using command down | |
do script "cd $(pwd)" in first window | |
end tell | |
END | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment