You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes, you may have many environment variables that you'd need to modify to switch between configurations of the build. In such a case, your .bashrc may not be sufficient.
In cases like this, it is desirable to modify the PS1 environment variable to annotate on your command line what environment you have active.
Populating the current shell's environment
You can modify the environment in-place, which is sufficient for most purposes. Here is a sample way to do this: