v4.15.1: 🐍 support `VIRTUAL_ENV_PROMPT`
🐍 Support VIRTUAL_ENV_PROMPT
In addition to the already implemented VIRTUAL_ENV variable, many Python virtual env tools also set VIRTUAL_ENV_PROMPT (e.g. virtualenv). Unlike VIRTUAL_ENV, which is the absolute path to the virtual env directory (e.g. /home/user/project/.venv), VIRTUAL_ENV_PROMPT is just the name of the virtual env project.
This pull request implements displaying VIRTUAL_ENV_PROMPT when it's set and defaulting to existing VIRTUAL_ENV or CONDA_DEFAULT_ENV base names otherwise.
Thanks to @gouline works on #405
What's Changed
- fix: support VIRTUAL_ENV_PROMPT alongside VIRTUAL_ENV by @gouline in #405
- docs/import release notes by @edouard-lopez in #370
- docs/fix documentation table of contents links broken 403 by @edouard-lopez in #404
New Contributors
Full Changelog: v4.15.0...v4.15.1