<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BR class="khtml-block-placeholder"></DIV><DIV>On 05 Jan 2006, at 03:10, Simon Dorfman wrote:</DIV><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I like the TextMate auto-update feature except for one thing: After it</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">updates, I have to re-install my custom icons [1].</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR style=""></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Is there any way I could protect them from auto-update?  Does it use rsync?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">If yes, maybe add an --exclude flag to it?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR style=""></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">[1] <A href="http://one.textdrive.com/pipermail/textmate/2004-November/001211.html">http://one.textdrive.com/pipermail/textmate/2004-November/001211.html</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR style=""></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR style=""></DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Same here. The best I found is to make a command that quits TM, copy the icons and reopen TM.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Make a new command with:</DIV><DIV>Save:Nothing</DIV><DIV>Input: none</DIV><DIV>Output: Discard</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Paste this (be sure to put the path to your icons):</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>#############################</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>{ APP_PATH=$(ps -xwwp $PPID -o command|grep -o '.*.app')</DIV><DIV>  osascript -e 'tell app "TextMate" to quit'</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>  for (( i = 0; i < 5 && $(echo $(ps -xp $PPID|wc -l))-1; i++ )); do</DIV><DIV>    sleep .2;</DIV><DIV>  done</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-style-span">cp -f "<B>Path/To/Your/IconsFolder/</B>*" /Applications/TextMate.app/Contents/Resources/</SPAN></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>  if [[ $(ps -xp $PPID|wc -l) -ne 2 ]]; then</DIV><DIV>    open "$APP_PATH"</DIV><DIV>  fi</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>} &>/dev/null &</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>#############################</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR>--<DIV></DIV><DIV>Fred</DIV></BODY></HTML>