lisa/mac-setup

Should we install commonly used TextMate Bundles

Closed this issue · 1 comments

lisa commented

Is it worth installing commonly used TextMate bundles with this? If so, we need to take a set diff of the pre-packaged bundles and the ones that should be auto-installed.

This very low effort snipped could be used to parse the plist of installed bundles for their source URL:

cd "/Users/$USER/Library/Application Support/TextMate/Managed/Bundles"
bundle_name=Go
plutil -extract source.url xml1  -o - $bundle_name.tmbundle/info.plist  | grep string | sed -e 's,\<string\>,,g' -e 's,</string>,,g'
lisa commented

If so, we need to take a set diff of the pre-packaged bundles and the ones that should be auto-installed.

This is probably not true. With some Ansible work this can morph into make sure these bundles are present."