If there is not one already, then a command with:
echo "$TM_FILEPATH" | pbcopy
would do it.
Best, Mark
On 1 Nov 2006, at 05:12, Steve Lianoglou wrote:
Hi folks,
Just a quick question somehow related to the recently flurry of emails about terminal integration.
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 :-)
It's neat that you can drag the file into the terminal and have it put get the path that way, but lately I've had a need to get it into the clipboard often enough ...
Thanks, -steve
On Oct 31, 2006, at 11:55 PM, William Scott wrote:
Hi folks:
Rather than pollute the mail list with more scratchings, I have made a web page for various iTerm/TextMate shell scripts. One of these runs shell scripts in a new iTerm window, and gives you the chance to feed the command some arguments, if needed.
http://xanana.ucsc.edu/xtal/textmate_iterm.html
HTH someone.
Bill
William G. Scott
contact info: http://chemistry.ucsc.edu/~wgscott
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate