I use oh-my-zsh with spaceship theme
Here, I want to remove conda environment's name which is (base)
In the image there's a (base) and also base. I'd like to delete first one.
please help
I use oh-my-zsh with spaceship theme
Here, I want to remove conda environment's name which is (base)
In the image there's a (base) and also base. I'd like to delete first one.
please help
If you want to remove the (base)
prefix but keep the base
environment activated, you can set the env_prompt
configuration key:
conda config --set env_prompt ""
The default value for env_prompt
is '({default_env}) '
. See the conda configuration documentation.
The comment by @merv provides a more efficient answer, and the result is the same. See the documentation on changeps1
.
conda config --set changeps1 false