mirror of
https://github.com/kennethreitz-archive/kcode.tmbundle.git
synced 2026-06-05 23:50:18 +00:00
27 lines
815 B
Plaintext
27 lines
815 B
Plaintext
<?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>cd "$TM_BUNDLE_PATH"
|
|
|
|
echo "<pre>"
|
|
[ -d ".git" ] && git pull
|
|
[ ! -d .git ] && echo "You must install the bundle using Git in order to update via this command. More info: http://github.com/kennethreitz/kCode.tmBundle"
|
|
|
|
osascript -e 'tell app "TextMate" to reload bundles'
|
|
|
|
echo "</pre>"</string>
|
|
<key>input</key>
|
|
<string>selection</string>
|
|
<key>name</key>
|
|
<string>Update Bundle via Git</string>
|
|
<key>output</key>
|
|
<string>discard</string>
|
|
<key>uuid</key>
|
|
<string>FC3E137B-6E92-40C9-BAF6-ED13182D7269</string>
|
|
</dict>
|
|
</plist>
|