[TxMt] Re: symlinking vs copying "mate" into the path

Neil kngspook at gmail.com
Fri Nov 2 09:12:37 UTC 2012


How does mate work if TM2 is moved/renamed? Is it finding the location of
the app in a plist somewhere?


On Thu, Nov 1, 2012 at 7:40 PM, Allan Odgaard <mailinglist at textmate.org>wrote:

> On Oct 31, 2012, at 10:21 AM, Neil <kngspook at gmail.com> wrote:
>
> > Is there a reason TextMate copies mate into the user's $PATH instead of
> just making a symlink to the command inside the Application's resources?
>
> The original reason was that mate was copied from the bundle support
> folder, which I didn’t feel was a good destination for a symlink.
>
> But another reason is to have ‘mate’ still work if user rename or move
> TextMate.app.
>
> Didn’t happen a lot with 1.x (which uses a symlink) but it did happen, and
> it seemed like a lot of users rename the alphas to “TextMate 2”.
>
> TextMate 2 will keep the installed ‘mate’ executable up-to-date. So
> nothing is really gained by the symlink (other than maybe satisfying an
> aesthetic preference).
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20121102/86140f5a/attachment.html>


More information about the textmate mailing list