How can I change environment variables without re-logging to UI?
I want to re/define some variables and want them set on my current logged in shell (including UI). I know logging out and then logging in again would work, but I want to test it right away - without re-logging in. How can I do that? (If I can). Thanks.
. ~/.profile. To affect newly launched GUI environments, it depends on your window manager or desktop environment. What WM/DE do you use?export, and then simply launch a new shell. E.g.,export EDITOR="nano"and thenbash. Probably this will not work for everything, and in general,source/.seems more robust, but it can be useful to know.