Spaceship-prompt: Support for conda virtual environment

Created on 7 Aug 2017  路  6Comments  路  Source: denysdovhan/spaceship-prompt

It would be nice to have support for conda virtual environments the same way as for example python virtualenvs. Yet I have no clue what an appropriate icon could be.

has-pr help-wanted proposal

Most helpful comment

We already have venv to display python environment. I was thinking about clubbing conda with this section.

As for now, If you don't mind I could make a PR to support conda virtual environments.

All 6 comments

Thanks @dmohns for the suggestion.

How about combining it with existing sections ? We could get conda environment with CONDA_DEFAULT_ENV.

What do you mean by

combining it with existing sections?

Can't we simply copy the logic from another tool (e.g. venv) that works via reading state from environment?

We already have venv to display python environment. I was thinking about clubbing conda with this section.

As for now, If you don't mind I could make a PR to support conda virtual environments.

Interesting thought to combine them. But I think this should be moved to a separate discussion/issue once conda support is there. I cannot think of any cases where you want to use e.g. conda and venv but there might be some.

I could make a PR to support conda virtual environments.

That would be great, thank you!

Suggestions on PR @dmohns ?

Published as v2.10.0!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

doole picture doole  路  4Comments

jwhipp picture jwhipp  路  3Comments

ChadTaljaardt picture ChadTaljaardt  路  4Comments

olets picture olets  路  3Comments

gabrielpedepera picture gabrielpedepera  路  3Comments