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
The comment by @merv provides an efficient answer. See the documentation on changeps1
.
conda config --set changeps1 false
Original answer, which is inferior to the answer above.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With