On 9 May 2016, at 21:34, feek wrote:
I've found a solution by using the code below.
Instead of using `mate` I recommend using `"$TM_MATE"`. This variable will be set for all commands called from within TextMate, so does not rely on the user having `mate` installed in a location in the user’s PATH.