[TxMt] defaults OakShellVariables

Allan Odgaard throw-away-1 at macromates.com
Wed Nov 2 14:58:46 UTC 2005


On 02/11/2005, at 15.33, Allan Odgaard wrote:

> You want to specify the value using '-array-add', e.g.:
>    defaults write com.macromates.textmate OakShellVariables \
>       -array-add '{enabled = 1; value = "/Users/simon/classes";  
> variable = "CLASS_PATH"; }'

A word of warning: 'enabled' must be a boolean, and adding it like  
above adds it as an integer, which will make TextMate throw an  
exception when executing shell commands (until the entry is removed).

I'll make next build accept an integer as well.




More information about the textmate mailing list