The Haiku/BeOS Tip Server
Tips and tricks for Haiku/BeOS users

Re-initialize environment variables

Contributed by: Alasdair Muckart
This tip is valid for: Both BeOS and Haiku

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.

Posted in Scripting


(comments are closed).