-
Notifications
You must be signed in to change notification settings - Fork 892
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
Opt-out from PATH modification #170
Comments
Should be a way to do this both on the command line (and in turn from rustup-setup.sh) as well as interactively. |
Yes please, I'd prefer if it just told me the directory I need to add to my PATH. |
This should be opt-in, not out. |
At the very least this needs to be handled gracefully, my
EDIT: Luckily just temporarily removing it was enough to persuade rustup to install 😸. |
@Nemo157 Thanks for the report. I've opened a separate issue. |
This can be done both on the command line and interactively now. |
@brson I don't like that it still modifies your rc file by default. That should be strictly opt-in, IMO. If that's really not possible for some reason, at least change the pre-install message to make it clear that you can opt-out via the advanced options. Right now you'd have to just try it to discover that it's possible to opt-out. Maybe something like, "If you do not want /whatever/.profile modified automatically, choose the advanced installation option." |
Perhaps it would be even better to just make it a separate interactive step. "Would you like rustup to automatically update /whatever/.profile to add ~/.cargo to your PATH environment variable? yes/no" |
I don't like apps modifying my
.*shrc
The text was updated successfully, but these errors were encountered: