Skip to content

🐚 Simple ZSH plugin for automatically activating and deactivating Poetry-created virtualenvs. 🐍

License

Notifications You must be signed in to change notification settings

darvid/zsh-poetry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MIT License ZSH 5.0.2+

zsh-poetry

Automatically activates virtual environments created by Poetry when changing to a project directory with a valid pyproject.toml.

Install

curl -L git.io/Jinm5 > poetry.zsh
source poetry.zsh

Antigen

antigen bundle darvid/zsh-poetry

zplug

zplug "darvid/zsh-poetry"

Configuration

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.

About

🐚 Simple ZSH plugin for automatically activating and deactivating Poetry-created virtualenvs. 🐍

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages