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

dvm use keeps growing PATH variable #34

Open
schveiguy opened this issue Nov 10, 2015 · 2 comments
Open

dvm use keeps growing PATH variable #34

schveiguy opened this issue Nov 10, 2015 · 2 comments

Comments

@schveiguy
Copy link
Contributor

At least on Macos and Linux:

Stevens-MacBook-Pro:testd steves$ echo $PATH
/Users/steves/.dvm/compilers/dmd-2.069.0/osx/bin:/Users/steves/.dvm/bin:/Users/steves/.dvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:~/git/dmd2/osx/bin
Stevens-MacBook-Pro:testd steves$ dvm use 2.068.0
Stevens-MacBook-Pro:testd steves$ dvm use 2.068.1
Stevens-MacBook-Pro:testd steves$ dvm use 2.068.2
Stevens-MacBook-Pro:testd steves$ echo $PATH
/Users/steves/.dvm/compilers/dmd-2.068.2/osx/bin:/Users/steves/.dvm/bin:/Users/steves/.dvm/compilers/dmd-2.068.1/osx/bin:/Users/steves/.dvm/bin:/Users/steves/.dvm/compilers/dmd-2.068.0/osx/bin:/Users/steves/.dvm/bin:/Users/steves/.dvm/compilers/dmd-2.069.0/osx/bin:/Users/steves/.dvm/bin:/Users/steves/.dvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:~/git/dmd2/osx/bin
Stevens-MacBook-Pro:testd steves$ 

dvm script command should just replace the path used by dvm with the correct one. This would also allow specification of where in the path the dvm bin directory should be.

@veelo
Copy link

veelo commented Jul 25, 2018

The same happens on Windows.

@jacob-carlborg
Copy link
Owner

Yeah, unfortunately I don’t have much time to work on D related things these days.

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

No branches or pull requests

3 participants