Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tue-env switch does not clear TUE variables #590

Open
ar13pit opened this issue Sep 6, 2021 · 1 comment
Open

tue-env switch does not clear TUE variables #590

ar13pit opened this issue Sep 6, 2021 · 1 comment
Labels

Comments

@ar13pit
Copy link
Contributor

ar13pit commented Sep 6, 2021

As tue-env switch is a temporary workspace switching command, a new terminal cannot be opened to clear environment variables. This command however does not clear the existing TUE variables.

How to replicate:

Execute the following commands on the same terminal window:

  1. Source an existing tue-env workspace ros-noetic
  2. Create a new workspace in a temporary directory tue-env init temp /tmp/temp
  3. Switch to the temp workspace tue-env switch temp
  4. Echo some TUE variables like, TUE_SYSTEM_DIR, TUE_ROS_DISTRO
@ar13pit ar13pit added the bug label Sep 6, 2021
@ar13pit
Copy link
Contributor Author

ar13pit commented Sep 6, 2021

This happens because of having a default tue-env workspace. I think we should add a warning to tue-env switch when a default workspace has been set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant