1
0
Fork 0
This commit is contained in:
Luca Bilke 2023-04-03 17:29:00 +02:00
parent 53dd9e827a
commit 4a8326cde0
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
# vim:set ft=zsh # vim:set ft=zsh
PYENV_DIR="${PYENVS_HOME:-$XDG_DATA_HOME}/virtualenv}" PYENV_DIR="${PYENVS_HOME:-$XDG_DATA_HOME}/virtualenv"
function chpwd_activate(){ function chpwd_activate(){
[[ "$(pwd)" == "/" ]] && return 0 [[ "$(pwd)" == "/" ]] && return 0
for pydir in $(ls $PYENV_DIR); do for pydir in $(ls $PYENV_DIR); do