Permalink
Browse files

Updated Coda plugin for new editor scheme

  • Loading branch information...
1 parent a413d13 commit d6eecaf54720e8669f32c7b8b971dac57ab638bb @topfunky committed Mar 4, 2011
View
12 PeepOpen.codaplugin/Contents/Info.plist
@@ -32,15 +32,19 @@
<key>keyEquivalent</key>
<string>~^@t</string>
<key>keyEquivalentConflict</key>
- <false/>
+ <true/>
<key>name</key>
- <string>Open File with PeepOpen</string>
+ <string>Open File in PeepOpen</string>
<key>output</key>
<string>discard</string>
+ <key>postprocess</key>
+ <string>none</string>
+ <key>preprocess</key>
+ <string>none</string>
<key>script</key>
- <string>script</string>
+ <string>open-file-in-peepopen.sh</string>
<key>uuid</key>
- <string>9615EF8F-291C-4BAE-A954-A2A56EC87BE6</string>
+ <string>8A8CDACF-6C0A-4E62-9E90-313EDA1B0229</string>
</dict>
</array>
</dict>
View
7 ...daplugin/Contents/Resources/8A8CDACF-6C0A-4E62-9E90-313EDA1B0229/open-file-in-peepopen.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if (set -u; : $CODA_SITE_LOCAL_PATH) 2> /dev/null
+then
+ open "peepopen://$CODA_SITE_LOCAL_PATH?editor=Coda"
+fi
+
View
5 PeepOpen.codaplugin/Contents/Resources/9615EF8F-291C-4BAE-A954-A2A56EC87BE6/script
@@ -1,5 +0,0 @@
-if (set -u; : $CODA_SITE_LOCAL_PATH) 2> /dev/null
-then
- open -a PeepOpen "$CODA_SITE_LOCAL_PATH"
-fi
-

0 comments on commit d6eecaf

Please sign in to comment.