Sometimes new installed conda displays duplicate environment names in the spaceship prompt.

It shows like this:

This is becuase by default conda shows the activated environments in prompt.

You can disable it by this:

conda config --set changeps1 False

Now the displayed conda environment on the top is gone: