1
0
Fork 0

standardize virtualenv location

This commit is contained in:
Luca Bilke 2022-08-03 00:31:29 +02:00
parent 024f0b9b61
commit f1e6a11f8d
1 changed files with 1 additions and 1 deletions

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