mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-16 15:33:51 -05:00
Fix Error: too many arguments. on deactivating anaconda env
This commit is contained in:
@@ -87,7 +87,7 @@ if [ -n "${conda_env}" ]; then
|
||||
cat <<EOS
|
||||
export PYENV_DEACTIVATE="$prefix";
|
||||
unset PYENV_ACTIVATE;
|
||||
. "${prefix%/envs/*}/bin/deactivate" "${prefix##*/envs/}";
|
||||
. "${prefix%/envs/*}/bin/deactivate";
|
||||
else
|
||||
EOS
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user