On 10 Jul 2013, at 19:29, Rob McBroom wrote:
[…] is there a safer way to add `/usr/local/bin`?
Set it to: $PATH:/usr/local/bin
The support bundle’s bin directory is added to the PATH variable via a bundle setting, the change around alpha.9423 was that user variables now have higher priority, so they can overwrite bundle variables. I hadn’t considered the PATH issue you experienced.
The change was motivated by allowing setting e.g. TM_COMMENT_START/STOP in .tm_properties instead of having to edit bundle (settings) items for customization.
For the records, new commands should not be written to rely on PATH, e.g. the SmartyPants.pl invocation should instead be "${TM_SMARTYPANTS:-$TM_SUPPORT_PATH/bin/SmartyPants.pl}".