· software-development

TextMate Bundles location on Mountain Lion

Something that I've noticed when trying to install various different bundles is that the installation instructions which worked flawlessly on Snow Leopard don't seem to do the job on Mountain Lion.

For example, the Clojure bundle assumes that the installation directory is '~/Library/Application\ Support/TextMate/Bundles' but for some reason the 'Bundles' folder doesn't exist.

We therefore have two choices:

So for the Clojure bundle we'd do this instead:

$ cd /Applications/TextMate.app/Contents/SharedSupport/Bundles
$ git clone git://github.com/swannodette/textmate-clojure.git Clojure.tmbundle
$ osascript -e 'tell app "TextMate" to reload bundles'

And similarly for the Haskell one:

$ cd /Applications/TextMate.app/Contents/SharedSupport/Bundles
$ git clone https://github.com/textmate/haskell.tmbundle.git haskell.tmbundle
$ osascript -e 'tell app "TextMate" to reload bundles'

Thinking about it now I'm wondering whether I did actually create the 'Bundles' folder in '~/Library/Application\ Support/TextMate/' on my old machine and I just can't remember doing so!

  • LinkedIn
  • Tumblr
  • Reddit
  • Google+
  • Pinterest
  • Pocket