Skip to content

virtualenv is displayed incorrectly for poetry and conda #97

@chvolkmann

Description

@chvolkmann

When using poetry to manage virtualenvs, this is what tide displays

image

The virtualenvs should be the name of my virtualenv.

echo $VIRTUAL_ENV
/home/user/.cache/pypoetry/virtualenvs/myproject-j_EVlIcP-py3.8

So the venv should be displayed as myproject-j_EVlIcP-py3.8 or myproject. Something similar could be implemented for conda users. Here, CONDA_DEFAULT_ENV should be used instead of VIRTUAL_ENV.

I'll cook up a pull request for _tide_item_virtual_env.fish in a bit!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions