1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-06 23:40:39 +01:00
Files
oh-my-zsh/plugins/python/python.plugin.zsh
Levan Vachnadze 33663127b0 Updated Python plugin: accepts multiple venv names
- Refined automatic virtual environment activation (`auto_vrun`):
  - Enhanced support for dynamic activation of virtual environments from a list.

- Updated `vrun` function:
  - Enabled activation of the first valid virtual environment from a list of potential names.
  - Improved feedback with clear error messages when no valid environment is found.

- Enhanced `mkv` function:
  - Added support for multiple potential virtual environment names using `PYTHON_VENV_NAME` as a list.
  - Simplified path handling with explicit construction using `${PWD}`.
  - Improved error messaging and direct activation of newly created environments.

- This is my first pull request ever so please let me know if there are any issues with the changes or request.
2024-12-01 07:21:04 +04:00

3.5 KiB