Terminal.app: New Tab

Shell Script: New Tab in Current Directory for Terminal.app

This shell script will tell (quiet literally, using Applescript) Terminal.app to open a new tab then switch to the current directory:

osascript -e 'tell application "Terminal"' \
-e 'tell application "System Events" to tell process "Terminal" to keystroke "t" using command down' \
-e "do script with command \"cd `pwd`;clear\" in selected tab of the front window" \
-e 'end tell' &> /dev/null

… put the above shell script in a directory in your $PATH (i.e. /usr/local/bin) and make sure it’s executable:

$ chmod +x /usr/local/bin/nt