mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01: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…
Add table
Add a link
Reference in a new issue