You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I often forget to name my virtual environments, so my prompt always displays .venv ❯ when I’m in a uv project. Occasionally, I’ll cd into another uv project without realizing that the previous virtual environment is still active.
Does anyone have a method for automatically activating the virtual environment of the current directory and deactivating it when I change to a different directory?
The text was updated successfully, but these errors were encountered:
metersk
changed the title
Methodology for automatically activating/deactivating venvs when you cd in or out of a "uv-owned" dir?
Methodology for Automatically Activating/Deactivating venvs When Changing Directories in a “uv-owned” Project
Oct 17, 2024
I often forget to name my virtual environments, so my prompt always displays
.venv ❯
when I’m in auv
project. Occasionally, I’llcd
into anotheruv
project without realizing that the previous virtual environment is still active.Does anyone have a method for automatically activating the virtual environment of the current directory and deactivating it when I change to a different directory?
The text was updated successfully, but these errors were encountered: