mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
feat(python): don't auto-deactivate in a subdir
This commit is contained in:
parent
26b3467806
commit
1965d1b3fc
2 changed files with 15 additions and 8 deletions
|
|
@ -32,8 +32,8 @@ virtual environments:
|
|||
`venv`) in the current directory.
|
||||
|
||||
- `auto_vrun`: Automatically activate the venv virtual environment when entering a directory containing
|
||||
`<venv-name>/bin/activate`, and automatically deactivate it when navigating out of it (including
|
||||
subdirectories!).
|
||||
`<venv-name>/bin/activate`, and automatically deactivate it when navigating out of it (keeps venv activated
|
||||
in subdirectories).
|
||||
- To enable the feature, set `export PYTHON_AUTO_VRUN=true` before sourcing oh-my-zsh.
|
||||
- Plugin activates first virtual environment in lexicographic order whose name begins with `<venv-name>`.
|
||||
The default virtual environment name is `venv`. To use a different name, set
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue