[SVN] Re: Can't read `$TM_PROJECT_DIRECTORY` in TM2 bundle
Ron DeVera
hello at rondevera.com
Mon Apr 30 06:22:32 UTC 2012
On Sun, Apr 29, 2012 at 8:05 PM, Allan Odgaard <mailinglist at textmate.org> wrote:
> OK, so users can _optionally_ set this TM_OPTIONS_FILE (in .tm_properties where TM_PROJECT_DIRECTORY is available), right?
>
> I.e. your bundle does not require it to be set (by your bundle).
Right, this environment variable is optional; the bundle has a default
value for this setting.
> Btw: It should preferably be TM_«bundle»_OPTIONS_FILE so to not conflict with variables used by other bundles.
Yup -- the actual environment variable's name is much longer, but I
shortened it here for discussion.
Cheers,
Ron
More information about the textmate-dev
mailing list