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
Env-specific changeps1=false
policy still changes PS1
#9265
Comments
changeps1
policy still changes PS1changeps1=false
policy still changes PS1
Hi there, thank you for your contribution! This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs. If you would like this issue to remain open please:
NOTE: If this issue was closed prematurely, please leave a comment. Thanks! |
This bug still replicates exactly as originally reported using reproduction steps on current setup: % conda info
active environment : base
active env location : /Users/mfansler/miniconda3
shell level : 1
user config file : /Users/mfansler/.condarc
populated config files : /Users/mfansler/miniconda3/.condarc
/Users/mfansler/.condarc
conda version : 4.13.0
conda-build version : 3.21.8
python version : 3.8.12.final.0
virtual packages : __osx=10.16=0
__unix=0=0
__archspec=1=x86_64
base environment : /Users/mfansler/miniconda3 (writable)
conda av data dir : /Users/mfansler/miniconda3/etc/conda
conda av metadata url : None
channel URLs : https://conda.anaconda.org/conda-forge/osx-64
https://conda.anaconda.org/conda-forge/noarch
https://conda.anaconda.org/bioconda/osx-64
https://conda.anaconda.org/bioconda/noarch
https://repo.anaconda.com/pkgs/main/osx-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/osx-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /Users/mfansler/miniconda3/pkgs
/Users/mfansler/.conda/pkgs
envs directories : /Users/mfansler/miniconda3/envs
/Users/mfansler/.conda/envs
platform : osx-64
user-agent : conda/4.13.0 requests/2.26.0 CPython/3.8.12 Darwin/20.6.0 OSX/10.16
UID:GID : 501:20
netrc file : None
offline mode : False Please remove stale label and do not close. |
Current Behavior
Setting an env-specific
changeps1=false
does not prevent PS1 change when activating, but does prevent it when deactivating. This leads to zombie"(env_name) "
strings getting prepended to PS1.Steps to Reproduce
changeps1=false
config setting.foo
:Expected Behavior
Step 2 should behave as:
That is, if an env has an env-specific
changeps1
setting, then it should only affect PS1 while it is active.Environment Information
`conda info`
`conda config --show-sources`
`conda list --show-channel-urls`
The text was updated successfully, but these errors were encountered: