[SVN] Re: Can't read `$TM_PROJECT_DIRECTORY` in TM2 bundle

Allan Odgaard mailinglist at textmate.org
Sat Apr 28 11:50:08 UTC 2012


On 25/04/2012, at 13.30, Ron DeVera wrote:

> I'm having trouble reading `$TM_PROJECT_DIRECTORY` from within another shell
> variable. I have a TM2 bundle whose settings contain this: […]

The TM_PROJECT_DIRECTORY is set after the bundle setting variables are set.

Why do you want to introduce a variable that is effectively an alias for TM_PROJECT_DIRECTORY? I.e. wouldn’t it be more clear, and not clutter the global namespace, simply to use TM_PROJECT_DIRECTORY in your script?



More information about the textmate-dev mailing list