From the release notes: "If you wish to set the default bundle yourself, the defaults key is OakDefaultBundleForNewBundleItems."
Could you please give an example how to do this exactly?
Thanks. Oliver
On 25.05.2006, at 10:14, Oliver Hagmann wrote:
From the release notes: "If you wish to set the default bundle yourself, the defaults key is OakDefaultBundleForNewBundleItems."
Could you please give an example how to do this exactly?
moiraine:~ soryu$ defaults write com.macromates.textmate OakDefaultBundleForNewBundleItems Soryu moiraine:~ soryu$ defaults read com.macromates.textmate OakDefaultBundleForNewBundleItems Soryu
like this. Now double-clicking a command file should save it in a bundle called “Soryu”.
Soryu.
On 25/5/2006, at 12:23, Soryu wrote:
moiraine:~ soryu$ defaults write com.macromates.textmate OakDefaultBundleForNewBundleItems Soryu moiraine:~ soryu$ defaults read com.macromates.textmate OakDefaultBundleForNewBundleItems Soryu
like this. Now double-clicking a command file should save it in a bundle called “Soryu”.
Although the value should be the UUID instead of the name, so:
% cd ~/Library/tm/Bundles/Allan\ Odgaard’s\ Bundle.tmbundle % pl < info.plist|grep uuid uuid = "278DB32C-62E5-46D3-A42D-06F0E1BFFEC3";
And then:
defaults write com.macromates.textmate OakDefaultBundleForNewBundleItems 278DB32C-62E5-46D3-A42D-06F0E1BFFEC3
Unrelated to this, but the ‘tm’ part of the path above is a symbolic link which expands to ‘Application Support/TextMate, can be created using:
ln -s ~/Library/Application\ Support/TextMate ~/Library/tm