mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-08 11:33:55 -05:00
Compare commits
4 Commits
75d422dcec
...
a657fd7162
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a657fd7162 | ||
|
|
aa9b8e9a5a | ||
|
|
ebef09bf3d | ||
|
|
a54be0cab2 |
2
LICENSE
2
LICENSE
@@ -1,4 +1,4 @@
|
|||||||
Copyright (c) 2015 Yamashita, Yuu
|
Copyright (c) 2025 Yamashita, Yuu
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
a copy of this software and associated documentation files (the
|
a copy of this software and associated documentation files (the
|
||||||
|
|||||||
@@ -214,9 +214,11 @@ if [ -d "${prefix}/conda-meta" ] ||
|
|||||||
case "${shell}" in
|
case "${shell}" in
|
||||||
fish )
|
fish )
|
||||||
echo "set -gx CONDA_DEFAULT_ENV \"${CONDA_DEFAULT_ENV}\";"
|
echo "set -gx CONDA_DEFAULT_ENV \"${CONDA_DEFAULT_ENV}\";"
|
||||||
|
echo "set -gx CONDA_PREFIX \"${prefix}\";"
|
||||||
;;
|
;;
|
||||||
* )
|
* )
|
||||||
echo "export CONDA_DEFAULT_ENV=\"${CONDA_DEFAULT_ENV}\";"
|
echo "export CONDA_DEFAULT_ENV=\"${CONDA_DEFAULT_ENV}\";"
|
||||||
|
echo "export CONDA_PREFIX=\"${prefix}\";"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ if [ -d "${prefix}/conda-meta" ] ||
|
|||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
case "${shell}" in
|
case "${shell}" in
|
||||||
fish )
|
fish )
|
||||||
: # conda doesn't support fish
|
echo "set -e CONDA_PREFIX"
|
||||||
;;
|
;;
|
||||||
* )
|
* )
|
||||||
for script in "${prefix}/etc/conda/deactivate.d"/*.sh; do
|
for script in "${prefix}/etc/conda/deactivate.d"/*.sh; do
|
||||||
|
|||||||
Reference in New Issue
Block a user