use flake VIRTUAL_ENV="$PWD/.venv" if [ ! -e .venv ] then poetry install fi export VIRTUAL_ENV PATH_add "$VIRTUAL_ENV/bin"