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/kCode.tmBundle" osascript -e 'tell app "TextMate" to reload bundles' echo "</pre>" input selection name Update Bundle via Git output discard uuid FC3E137B-6E92-40C9-BAF6-ED13182D7269