blob: c366b3f6f25d02876ac32f1dad0d208b6a576d46 [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
Rich Manalangc94ccf12010-10-07 13:34:42 -070013}