Return to Snippet

Revision: 7414
at July 22, 2008 21:46 by zingo

Initial Code
tab() # new tab from current dir
osascript -e "
tell application \"iTerm\"
 tell the first terminal
  launch session \"Default Session\"
  tell the last session
   write text \"cd $(pwd)\"
  end tell
 end tell
end tell"

Initial URL

Initial Description
Place this in your ~/.bash_profile then type tab in your terminal window to see some magic happen.

Initial Title
Quick new tab from iTerm

Initial Tags

Initial Language