MichaelAquilina / zsh-autoswitch-virtualenv

🐍 ZSH plugin to automatically switch python virtualenvs (including pipenv and poetry) as you move between directories
GNU General Public License v3.0
507 stars 80 forks source link

Fixed the problem of randomly generating garbage in each directory when entering the working directory subdirectory, and cleaning the garbage during rmvenv #194

Closed Mejituu closed 10 months ago

Mejituu commented 10 months ago

Fixed the problem of randomly generating garbage in each directory when entering the working directory subdirectory, and cleaning the garbage during rmvenv

Mejituu commented 10 months ago

For example AUTOSWITCH_VIRTUAL_ENV_DIR=".virtualenv"

Mejituu commented 10 months ago

For example AUTOSWITCH_VIRTUAL_ENV_DIR=".virtualenv" Entering any subdirectory of the working directory will generate a .virtualenv in the current directory, even if activate and deactivate are the same.

MichaelAquilina commented 10 months ago

testing this out locally for the day to see if I can catch any unexpected bugs. Wondering if some code has become implicitly reliant on this "bug" as a feature after being here for so long

MichaelAquilina commented 10 months ago

looks good. thanks for this!