On Sat, Apr 28, 2012 at 4:50 AM, Allan Odgaard <[email protected]> wrote: > 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?
The bundle reads an environment variable `TM_OPTIONS_FILE` that other users can point to a custom path, e.g., `~/.myconfig`, `$TM_PROJECT_DIRECTORY/config/myconfig.yml`. The custom environment variable is used not just as an alias, but as an optional part of a path that can be either global or project-specific. Cheers, Ron _______________________________________________ textmate-dev mailing list [email protected] http://lists.macromates.com/listinfo/textmate-dev
