But this isn't really a project since we have no .tmproj file.
Anyway, two questions
#1
Is there a $TM_... path that can tell me the top-level directory for the open window?
For a project yes, TM_PROJECT_DIRECTORY
Reason I'm asking is that some bundles, (just tried the AS3 one) depends on knowing the "root folder". They should just assume that we wanna use the currently opened dir (if one).
I don't use the bundle so can't comment on this.
#2
Any alternative way of adding "tm shell variables" to a directory.
Like the ones in project.tmproj -> shellVariables -> ..