@@ -39,6 +39,7 @@ export CONDA_DEFAULT_ENV="root";
39
39
pyenv-virtualenv: prompt changing will be removed from future release. configure \` export PYENV_VIRTUALENV_DISABLE_PROMPT=1' to simulate the behavior.
40
40
export _OLD_VIRTUAL_PS1="\$ {PS1}";
41
41
export PS1="(anaconda-2.3.0) \$ {PS1}";
42
+ export CONDA_PREFIX="${TMP} /pyenv/versions/anaconda-2.3.0";
42
43
EOS
43
44
44
45
unstub pyenv-version-name
@@ -97,6 +98,7 @@ export CONDA_DEFAULT_ENV="root";
97
98
pyenv-virtualenv: prompt changing will be removed from future release. configure \` export PYENV_VIRTUALENV_DISABLE_PROMPT=1' to simulate the behavior.
98
99
export _OLD_VIRTUAL_PS1="\$ {PS1}";
99
100
export PS1="(miniconda-3.9.1) \$ {PS1}";
101
+ export CONDA_PREFIX="${TMP} /pyenv/versions/miniconda-3.9.1";
100
102
EOS
101
103
102
104
unstub pyenv-virtualenv-prefix
@@ -126,6 +128,7 @@ export CONDA_DEFAULT_ENV="foo";
126
128
pyenv-virtualenv: prompt changing will be removed from future release. configure \` export PYENV_VIRTUALENV_DISABLE_PROMPT=1' to simulate the behavior.
127
129
export _OLD_VIRTUAL_PS1="\$ {PS1}";
128
130
export PS1="(anaconda-2.3.0/envs/foo) \$ {PS1}";
131
+ export CONDA_PREFIX="${TMP} /pyenv/versions/anaconda-2.3.0/envs/foo";
129
132
. "${PYENV_ROOT} /versions/anaconda-2.3.0/envs/foo/etc/conda/activate.d/activate.sh";
130
133
EOS
131
134
@@ -158,6 +161,7 @@ export CONDA_DEFAULT_ENV="bar";
158
161
pyenv-virtualenv: prompt changing will be removed from future release. configure \` export PYENV_VIRTUALENV_DISABLE_PROMPT=1' to simulate the behavior.
159
162
export _OLD_VIRTUAL_PS1="\$ {PS1}";
160
163
export PS1="(miniconda-3.9.1/envs/bar) \$ {PS1}";
164
+ export CONDA_PREFIX="${TMP} /pyenv/versions/miniconda-3.9.1/envs/bar";
161
165
. "${PYENV_ROOT} /versions/miniconda-3.9.1/envs/bar/etc/conda/activate.d/activate.sh";
162
166
EOS
163
167
0 commit comments