Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

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

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.

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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