mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
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. |
||
|---|---|---|
| .. | ||
| poetry-env.plugin.zsh | ||
| README.md | ||
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)