Skip to content

Instantly share code, notes, and snippets.

@kungpoo
kungpoo / gist:805727
Created February 1, 2011 11:22
Open new tabs in terminal that are in the same directory
# 1. Add this to your ~/.bash_profile
# 2. Relaunch Terminal
# 3. Open X number of tabs using 'tab' OR 'tab 4' etc.
function tab {
if [ -z "$1" ]; then
TABS=1;
else
TABS=$1
fi