On 13 Feb 2016, at 2:09, Ryan Fitzer wrote:
Is the “$TM_MATE” supposed to be accessible as an env var to scripts outside of Textmate bundles?
No, TextMate has no control over your global OS X environment, only the environment setup for things launched from within TextMate.