David Clark wrote:
content='0;URL=$TM_PROJ_URL/$TM_FILEPATH
The problem is that filepath is full.
If you want to only have the filename, than you could use $TM_FILENAME.
But I'm guessing you know about that one and require the path within the project.
In that case, you might want to try ${TM_FILEPATH#$TM_PROJECT_DIRECTORY} (TM_FILEPATH with the prefix TM_PROJECT_DIRECTORY removed, see "man sh", section on parameter expansion.)
Jeroen.