Automatically activates virtual environments created by Poetry when
changing to a project directory with a valid pyproject.toml
.
curl -L git.io/Jinm5 > poetry.zsh
source poetry.zsh
antigen bundle darvid/zsh-poetry
zplug "darvid/zsh-poetry"
Options:
ZSH_POETRY_AUTO_ACTIVATE
(default: 1
): if set, automatically
activates virtual environments in valid project directories when
changing directories.ZSH_POETRY_AUTO_DEACTIVATE
(default: 1
): if set, automatically
deactivates virtual environments when moving out of project directories.