[TxMt] Re: textmate -- iterm interactions

William Scott wgscott at chemistry.ucsc.edu
Wed Nov 1 05:52:26 UTC 2006


> 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



More information about the textmate mailing list