blob: a2ad79b54f91795d3eaee7c20e581f01f61da21b [file] [log] [blame]
Robert R Evansa4d02422010-10-02 15:07:29 -07001#!/bin/bash
2
3function tab() {
4 osascript 2>/dev/null <<EOF
5 tell application "System Events"
6 tell process "Terminal" to keystroke "t" using command down
7 end
8 tell application "Terminal"
9 activate
10 do script with command "cd \"$PWD\"; $*" in window 1
11 end tell
12EOF
13}