[TxMt] TM_USERNAME is null on Leopard

Allan Odgaard throw-away-2 at macromates.com
Thu Nov 29 19:14:29 UTC 2007


On 29 Nov 2007, at 19:19, Robin Houston wrote:

> [...]
> is portable and concise (and not likely to break when Apple change
> their bizarre tool in yet another incompatible way).

 From the r1431 release notes:

     [NEW] TextMate sets TM_FULLNAME (unless you set it yourself)
     to the user’s full name, so no longer necessarily to fiddle
     with niutil and dscl to obtain it.

So it should not be necessary for commands/snippets to try and obtain  
the full username themselves.




More information about the textmate mailing list