Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9a568e7826
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (36 sloc) 1.062 kb
<?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>#!/bin/bash
if [[ ! -x "$TM_FILEPATH" &amp;&amp; $(head -c2 "$TM_FILEPATH") == '#!' ]]; then
chmod a+x "$TM_FILEPATH"
echo "‘${TM_DISPLAYNAME}’ is now executable."
fi</string>
<key>hideFromUser</key>
<true/>
<key>input</key>
<string>document</string>
<key>inputFormat</key>
<string>text</string>
<key>name</key>
<string>Make Script Executable (ruby)</string>
<key>outputCaret</key>
<string>afterOutput</string>
<key>outputFormat</key>
<string>text</string>
<key>outputLocation</key>
<string>toolTip</string>
<key>scope</key>
<string>source.ruby, source.perl, source.python</string>
<key>semanticClass</key>
<string>callback.document.did-save</string>
<key>uuid</key>
<string>0D7C6CA2-5A3A-4FBE-9CE6-9C23BA87CCA0</string>
<key>version</key>
<integer>2</integer>
</dict>
</plist>
Jump to Line
Something went wrong with that request. Please try again.