beforeRunningCommand nop command 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/kHTML.tmbundle" osascript -e 'tell app "TextMate" to reload bundles' echo "</pre>" input selection name Update Bundle via Git output showAsHTML uuid D6F8DB6E-2015-498E-8B20-6E2EC34637F4