On 6/9/07, <b class="gmail_sendername">Mat Schaffer</b> <<a href="mailto:schapht@gmail.com">schapht@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><span class="q"></span>Does TextMate honor the stuff in environment.plist?</div></blockquote><div><br>Sure it does. When you log in, the values in environment.plist are set, and passed on to all applications that you launch.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="">If so is there some way I could identify in .profile if I'm being called by TextMate?
</div></blockquote><div><br>My question would be, why do you need to set the values in .profile as well? All I can think of is that you sometimes ssh into the machine, and you want the environment variables to be set when you log in via ssh. If that's it, and you don't want to redundantly re-parse
environment.plist, couldn't you just do<br><br>if [ -z "$SSH_CONNECTION" ]; then<br> # parse $HOME/.MacOSX/environment.plist<br> ...<br>fi<br></div><br>Robin<br></div>