mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-10-16 11:40:46 +00:00
Fixed issue wherein 'cannot find directory /bin/activate' because 'poetry info --path' does not return anything
This commit is contained in:
parent
32d4389aa6
commit
d4a5d25eec
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ _togglePoetryShell() {
|
|||
if grep -q 'tool.poetry' "$PWD/pyproject.toml"; then
|
||||
export poetry_active=1
|
||||
export poetry_dir="$PWD"
|
||||
source "$(poetry env info --path)/bin/activate"
|
||||
poetry shell
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue