# # Opens a new Terminal.app/iTerm.app tab in the current directory. # # Authors: # Sorin Ionescu # # function tab { local command="cd \\\"$PWD\\\"" (( $# > 0 )) && command="${command}; $*" the_app=$( osascript 2> /dev/null < /dev/null < /dev/null < /dev/null <