How can I cleanup changes in .profile

rustup adds the .cargo/env script for to shell environment dot files like .profile, .bashrc or .zshrc

On my build environment I don't need this.
It is posible to tell rustup not to update .profile or other dot files?
Or is there a command to cleanup this changes safely?

You can configure this during rustup installation. With curl -sSf | sh -s -- --no-modify-path rustup will not touch any of those files.

Thanks! works like desired!

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.