#!/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