Is it possible to open a new tab in Mac OS X\'s terminal from the command line in a currently opened tab?
I know that the keyboard shortcut to open a new tab in Term
Here's how it's done by bash_it:
function tab() { osascript 2>/dev/null <
After adding this to your .bash_profile, you'd use the tab command to open the current working directory in a new tab.
tab
See: https://github.com/revans/bash-it/blob/master/plugins/available/osx.plugin.bash#L3