[TxMt] Re: textmate -- iterm interactions

Steve Lianoglou lists at arachnedesign.net
Wed Nov 1 13:33:04 UTC 2006


Thanks Mark and Will .. that's exactly what I was looking for.

-steve
On Nov 1, 2006, at 12:52 AM, William Scott wrote:

>> Is there a shortcut I'm missing that would give me the path of the
>> current file I'm working on? Ideally a key-combo that would put it on
>> the clipboard
>
>
>  From within:
>
> echo "$TM_FILEPATH" | pbcopy
>
>
> from without:
>
> echo $(  osascript -e 'tell app "TextMate" to return path of first  
> document' ) | pbcopy
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate




More information about the textmate mailing list