darvid / zsh-poetry

🐚 Simple ZSH plugin for automatically activating and deactivating Poetry-created virtualenvs. 🐍
MIT License
75 stars 14 forks source link

Fix sed expression, as 'poetry debug' output has changed #3

Closed kdryja closed 4 years ago

kdryja commented 4 years ago

Looks like poetry debug:info no longer exists and instead is now just poetry debug.

The output of the command has also changed, thus command poetry debug:info 2>/dev/null | sed -n "s/\ *\* Path:\ *\(.*\)/\1/p" was always empty, effectively never activating any venv. What is more, it also broke poetry shell.

darvid commented 4 years ago

thanks for the fix!