ohmyzsh/plugins/poetry-env
Kate Sullivan bc383878e4
bugfix(plugin): correctly switch VENV when transitioning between projects directly
Properly deactivate shell if you move directly from one poetry env to another otherwise you get stuck in the old virtual env unless you hit a non poetry directory first which would trigger the deactivate command.
2024-11-13 19:07:45 -06:00
..
poetry-env.plugin.zsh bugfix(plugin): correctly switch VENV when transitioning between projects directly 2024-11-13 19:07:45 -06:00
README.md style: remove trailing whitespace (#12303) 2024-03-26 09:55:16 +01:00

Poetry Environment Plugin

This plugin automatically changes poetry environment when you cd into or out of the project directory. Note: Script looks for pyproject.toml file to determine poetry if its a poetry environment

To use it, add poetry-env to the plugins array in your zshrc file:

plugins=(... poetry-env)