[TxMt] Attaching commands to project files

Charilaos Skiadas cskiadas at uchicago.edu
Mon Oct 24 13:08:20 UTC 2005


On Oct 24, 2005, at 3:47 AM, Shawn Van Ittersum wrote:


> Can I attach a command to a project file so that it is only  
> available when that project is open and foremost in TextMate?  I'd  
> like to write a command to rsync a project's files to a server, and  
> give each project its own command to sync the proper directories to  
> the right server.
>
>
You can set project specific shell variables, by clicking on the info  
button at the bottom of the drawer, without any particular file  
selected. Then you can have a global command that uses those  
variables to see if it should be doing anything, and is so, what it  
should be syncing.

> Thanks,
> Shawn
>
>






More information about the textmate mailing list