logo       

Re: Relative paths in shell variable: msg#00202

editors.textmate.general

Subject: Re: Relative paths in shell variable

On Jun 23, 2005, at 3:33 AM, Chris Jenkins wrote:

I know this is kind of cheeky, but I am thinking of making some macros where
it would be incredibly useful to be able to get the path of the current file
relative to the project directory, instead of as an absolute path from the
root hard drive, is there any possibility this could be added? (I really
have no idea how difficult this might be). Or perhaps this is so easy in
Perl that its not worth the effort, Im afraid I don't know any Perl.

You might look to the Java bundle for inspiration. I do something similar with the templates in there.

--
__ ____
/ / / __/ Brian Lalor "If you still have gas, you're not lost."
/ _ \/__ \ blalor-iYYDQeS/dOkdnm+yROfE0A@xxxxxxxxxxxxxxxx --
Jacques Strappe
/_.__/____/ http://bravo5.org/




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise