Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
2  
There's an alternative approach mentioned on SO. –  chrisaycock Feb 23 '11 at 16:09

1 Answer 1

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
1  
Yes, I was wanting them to be available in the UI, unfortunately. –  Edd Jun 6 '11 at 9:33

Your Answer

 
discard

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.