We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4d2c36 commit 905bbceCopy full SHA for 905bbce
bin/pyenv-sh-activate
@@ -240,6 +240,8 @@ if [ -x "${prefix}/bin/conda" ]; then
240
: # conda doesn't support fish
241
;;
242
* )
243
+ CONDA_PREFIX="$prefix"
244
+ echo "export CONDA_PREFIX=\"${CONDA_PREFIX}\";"
245
for script in "${prefix}/etc/conda/activate.d"/*.sh; do
246
echo ". \"${script}\";"
247
done
bin/pyenv-sh-deactivate
@@ -69,6 +69,7 @@ if [ -x "${prefix}/bin/conda" ]; then
69
for script in "${prefix}/etc/conda/deactivate.d"/*.sh; do
70
71
72
+ echo "unset CONDA_PREFIX"
73
74
esac
75
shopt -u nullglob
0 commit comments