Discussion:
[conda] source activate setting PS1 differently on PS1
D3VIATION
2018-02-01 04:12:44 UTC
Permalink
Hello,

There are some legacy scripts that still make use of "source
/opt/conda/bin/activate <env_name>" and since Conda was upgraded to 4.4.8
the PS1 is now being set to the full path of the environment rather then
just the environment name.

(base) ***@machine2 ~ > source /opt/conda/bin/activate dev-loop
(/opt/conda/envs/dev-loop) ***@onxsimb201 ~ >

Is there a way to get the old behavior back?
(root) ***@machine2 ~ > source /opt/conda/bin/activate dev-loop
(dev-loop) ***@onxsimb201 ~ >

Thanks
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/8065d3a1-31fd-4aa1-83f1-4a1b9c530ae9%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
D3VIATION
2018-02-01 04:55:10 UTC
Permalink
Thanks.

Raised: https://github.com/conda/conda/issues/6822

I will look into fixing this tomorrow.

Thanks for confirming its a bug.
That looks like a bug.
Sent from my iPhone
Hello,
There are some legacy scripts that still make use of "source
/opt/conda/bin/activate <env_name>" and since Conda was upgraded to 4.4.8
the PS1 is now being set to the full path of the environment rather then
just the environment name.
Is there a way to get the old behavior back?
Thanks
--
You received this message because you are subscribed to the Google Groups
"conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit
https://groups.google.com/a/continuum.io/d/msgid/conda/8065d3a1-31fd-4aa1-83f1-4a1b9c530ae9%40continuum.io
<https://groups.google.com/a/continuum.io/d/msgid/conda/8065d3a1-31fd-4aa1-83f1-4a1b9c530ae9%40continuum.io?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/4c25ef31-118c-49ea-ae8b-96ac436511b3%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Loading...