|
Re: Relative paths in shell variable: msg#00197editors.textmate.general
On 23/06/2005, at 10.33, Chris Jenkins wrote: [...] be able to get the path of the current file relative to the project directory Try this: ${TM_FILEPATH#$TM_PROJECT_DIRECTORY/} The #-thing means: “minus this prefix”. There's also % for “minus this suffix”. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Relative paths in shell variable: 00197, Chris Jenkins |
|---|---|
| Next by Date: | Language grammar feature writeup: 00197, Allan Odgaard |
| Previous by Thread: | Relative paths in shell variablei: 00197, Chris Jenkins |
| Next by Thread: | Re: Relative paths in shell variable: 00197, Brian Lalor |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |