1
0
Fork 0

standardize virtualenv location

This commit is contained in:
Luca Bilke 2022-08-03 00:31:29 +02:00
parent db6faa3e7b
commit 3b871e98ab

View file

@ -1,4 +1,4 @@
PYENV_DIR="${PYENVS_HOME:-${XDG_DATA_HOME:-$HOME/.local/share}/pyenvs}"
PYENV_DIR="${PYENVS_HOME:-${XDG_DATA_HOME:-$HOME/.local/share}/virtualenv}"
function chpwd_activate(){
for pydir in $(ls $PYENV_DIR); do
if [[ $(pwd|sed -e s@/@_@g) =~ "^$pydir" ]]; then