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

Allan Odgaard mailinglist at textmate.org
Fri Nov 2 02:40:58 UTC 2012


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).



More information about the textmate mailing list