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

Comment on this tip

Comments may be incorporated into the original tip by site editors.

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.