Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add Open Project in Terminal command

  • Loading branch information...
commit a5fa5de801e703418516c5e5f04f82fc19717945 1 parent 48f0c86
@elia authored
Showing with 38 additions and 0 deletions.
  1. +31 −0 Commands/Open Project in Terminal.tmCommand
  2. +7 −0 README.md
View
31 Commands/Open Project in Terminal.tmCommand
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>beforeRunningCommand</key>
+ <string>nop</string>
+ <key>command</key>
+ <string>#!/usr/bin/env bash
+
+open "$TM_PROJECT_DIRECTORY" -a Terminal.app
+</string>
+ <key>input</key>
+ <string>none</string>
+ <key>inputFormat</key>
+ <string>text</string>
+ <key>keyEquivalent</key>
+ <string>^~@t</string>
+ <key>name</key>
+ <string>Open Project in Terminal</string>
+ <key>outputCaret</key>
+ <string>afterOutput</string>
+ <key>outputFormat</key>
+ <string>text</string>
+ <key>outputLocation</key>
+ <string>toolTip</string>
+ <key>uuid</key>
+ <string>F2C95C06-3A20-41DF-A192-AF59906E20D3</string>
+ <key>version</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
7 README.md
@@ -27,6 +27,13 @@ This bundle reintroduces the TM1 behavior.
This command creates a new file instead of opening an *untitled* tab, replaces the old ⇧⌘N and mimics the new way to [create a new file in a project folder](http://tm2tips.tumblr.com/post/16467488354/create-a-new-file-in-a-project-folder).
+### Open Project directory in Terminal (⌃⌥⌘T)
+
+**ALERT: requires OSX Lion**
+
+Opens the current project directory in the terminal (not really present in TM1, but useful anyway).
+
+
## Installation
```bash
Please sign in to comment.
Something went wrong with that request. Please try again.