Created
December 13, 2008 21:57
-
-
Save epall/35556 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
#!/usr/bin/env sh | |
# A simple script to open a new tab in Terminal in the current directory | |
# Author: Eric Allen | |
osascript -e 'tell application "System Events" to tell process "Terminal" to keystroke "t" using command down' > /dev/null | |
osascript -e "tell application \"Terminal\" to do script \"cd $PWD && clear\" in window 1" > /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment