docs(python): add PYTHON_AUTO_VRUN to settings (#14233)

This commit is contained in:
Jakub Boukal authored and GitHub committed 2026-11-27 16:20:27 -08:00
1 parent 03ba23c9f6
commit 5873e1cfec
1 file changed
+9
+9
View File
@@ -46,6 +46,7 @@ You can set these variables in your `.zshrc` file, before Oh My Zsh is sourced.
For example:
```sh
PYTHON_AUTO_VRUN=true
PYTHON_VENV_NAME=".venv"
PYTHON_VENV_NAMES=($PYTHON_VENV_NAME venv)
...
@@ -54,6 +55,14 @@ source "$ZSH/oh-my-zsh.sh"
```
## `$PYTHON_AUTO_VRUN`
**Default**: `false`.
Enable automatic activation of virtual environments when entering a directory containing
`<venv-name>/bin/activate`, and automatically deactivate it when navigating out of it.
Set to `true` to enable this feature.
## `$PYTHON_VENV_NAME`
**Default**: `venv`.