I am trying to change my settings for Textmate by changing its plist. Here is what I have so far:
defaults write com.macromates.textmate OakShellVariables -array-add '{value = "hello"; variable = "TM_HELLO";}'
This will add a new shell variable for Textmate. I want to do this via the command line so that I can script it. The above works fine, but I also want the activated key (which is logical) to be true. Unfortunately, I cannot provide the correct syntax to achieve this. All my attempts lead to the fact that the key is included as a string instead of a logical one. For instance:
defaults write com.macromates.textmate OakShellVariables -array-add '{enabled = true ;value = "hello"; variable = "TM_HELLO";}
source
share