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

Align conda env name #5

Closed
shelfofclub opened this issue Nov 28, 2021 · 1 comment
Closed

Align conda env name #5

shelfofclub opened this issue Nov 28, 2021 · 1 comment

Comments

@shelfofclub
Copy link

Could you align conda env name with the second line prompt?
image
I think this may be like "virtualenv could be integrated a little more nicely“ in #1.

The environment name seems to be added by conda. There are two environment variables set by conda. When a conda env is activated, CONDA_DEFAULT_ENV and CONDA_PROMPT_MODIFIER are set. For examples,

CONDA_DEFAULT_ENV=base
CONDA_PROMPT_MODIFIER=(base)

When conda env not activated, these env variables don't exit.
However, as for #2 , virtualenv may use different enc variables.

And changeps1: False in conda config file can prevent conda change prompt.

Thank you!

@dannynimmo
Copy link
Owner

Fixed in #6

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

2 participants