epall (owner)

Revisions

gist: 35556 Download_button fork
public
Public Clone URL: git://gist.github.com/35556.git
nt.sh
1
2
3
4
5
6
#!/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