[SVN] Revision 1231 (Python)
Allan Odgaard
allan at macromates.com
Fri Jun 24 02:18:41 UTC 2005
On 23/06/2005, at 20.12, Brad Miller wrote:
> How many cases would python "$TM_FILENAME" actually work for?
> Now cd to the appropriate directory and then run python on the file.
Not sure if this is a rhetorical question, but I'd have worked for
single files or files directly in $TM_PROJECT_DIRECTORY.
IOW current dir for commands is the file's directory, except for
projects, where it's the directory containing the project file. At
least I seem to recall having implemented it like that ;)
More information about the textmate-dev
mailing list