Loading .shell/lib/virtualenv.bash +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ _venv_make_func() { _venv_enable() { local venv=.venv${1}-${2} python=$3 [[ -f "$venv/bin/activate" ]] || $python -m venv "$venv" [[ -x "$venv/bin/$python" ]] || $python -m venv --upgrade "$venv" [[ -x "$venv/bin/$(basename $python)" ]] || $python -m venv --upgrade "$venv" [[ -v VIRTUAL_ENV ]] && has deactivate is function && deactivate source "$venv/bin/activate" export CONTEXT_PY=$1 Loading Loading
.shell/lib/virtualenv.bash +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ _venv_make_func() { _venv_enable() { local venv=.venv${1}-${2} python=$3 [[ -f "$venv/bin/activate" ]] || $python -m venv "$venv" [[ -x "$venv/bin/$python" ]] || $python -m venv --upgrade "$venv" [[ -x "$venv/bin/$(basename $python)" ]] || $python -m venv --upgrade "$venv" [[ -v VIRTUAL_ENV ]] && has deactivate is function && deactivate source "$venv/bin/activate" export CONTEXT_PY=$1 Loading