-
Notifications
You must be signed in to change notification settings - Fork 167
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
Clarify wording for running conda init #713
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome, thanks! We should probably add it to the PKG UI too.
Good call! I expanded that text, too |
preferred shell on startup. This will change the command prompt when | ||
activated. If your prefer that conda's base environment not be activated | ||
on startup, run `conda config --set auto_activate_base false`. You can | ||
undo this by running `conda init --reverse ${SHELL}`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is ${SHELL}
expected to be defined here or is it just a placeholder? I am assuming that it will be rendered in the SH installers but I am not sure about the PKGs. If it's meant to be a placeholder, that's ok too, just wanted to make sure it was not an oversight.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I expect this to be a literal ${SHELL}
, not the rendered version. In the sh installers, I escaped the $ sign so that it doesn't get rendered.
Co-authored-by: jaimergp <[email protected]>
Description
When asking whether to execute
conda init
, there is no explanation about what the consequences of the decision are. This can surprise new users to conda when their prompt is changed after restarting their shell.Update the prompt to describe what is being changed and how it can be reversed before making a decision.
Checklist - did you ...
news
directory (using the template) for the next release's release notes?