After updating environment variables by modifying the environment.plist file, is there an alternative to logging out and back in again in order to reload the variables and use the new values, much like I would do using source ~/.bashrc in bash.

link|improve this question
2  
There's an alternative approach mentioned on SO. – chrisaycock Feb 23 '11 at 16:09
feedback

1 Answer

I'm not entirely sure what you are trying to accomplish, but I would skip the environment.plist and add it directly into my .bashrc file. The you can source ~/.bashrc and your variables should be set.

Of course if you are looking for these variables to be available to the UI, then I'm not sure you have any choice.

link|improve this answer
Yes, I was wanting them to be available in the UI, unfortunately. – Edd Jun 6 '11 at 9:33
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.