diff --git a/plugins/python/README.md b/plugins/python/README.md index beab84a01..0ded7d9d1 100644 --- a/plugins/python/README.md +++ b/plugins/python/README.md @@ -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 +`/bin/activate`, and automatically deactivate it when navigating out of it. +Set to `true` to enable this feature. + ## `$PYTHON_VENV_NAME` **Default**: `venv`.