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

PATH is messed up, when the switch command is run multiple times #32

Open
nils-a opened this issue Jun 25, 2021 · 1 comment
Open

PATH is messed up, when the switch command is run multiple times #32

nils-a opened this issue Jun 25, 2021 · 1 comment
Labels

Comments

@nils-a
Copy link
Contributor

nils-a commented Jun 25, 2021

Running switch modifies either machine or user environment.

However, the modification is present in the running shell. Hence, for the next run in the same shell, the calculation for which path needs to be removed from PATH and which needs to be added is messed up.

@nils-a nils-a added the Bug label Jun 25, 2021
@nils-a
Copy link
Contributor Author

nils-a commented Jun 25, 2021

Probably re-reading values from Registry could solve this.

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