Re-initialize environment variables
Posted on September 9th, 1997 by shacker
If you make changes to environment variables in scripts such as ~/config/UserSetupEnvironment
, you don’t need to wait until your next reboot to activate the changes. Instead, just use, e.g.:
source <filename>
This has the added advantage that if you make a mistake in your setup, you still have a running system to work with as you make further changes.