Open sulsj opened 4 years ago
same question
same question. This feature is necessary.
@Alwaysproblem @sulsj FYI, I changed my theme to 'powerline' and it works now. My OS is Ubuntu 18.04.
Thank you @anyong298 , I already add conda
venv
and python
version to the theme tonotdo
by calling python_version_prompt
from basic.theme.sh
I'm using the default theme (font). It's implemented to show $(virtualenv_prompt)
in font.theme.sh
. I changed it to $(condaenv_prompt)
and now it worked. I also added a space between env prompt and hostname prompt for aesthetic purpose.
I first tried python_version_prompt
, but it shows the environment name followed by the interpreter version? That's not what I want.
Same question. Any help to solve this problem?
Same question. Any help to solve this problem?
Which theme you are using? if you are using the font theme then follow the shunzh's comment
For anyone who is using Agnoster, I enabled conda environment names by referring to https://github.com/speedenator/agnoster-bash/pull/24. Just add those 4 lines as seen in the 'Files changed tab' into prompt_virtualenv(). Credits to @prehensilecode
Hi, I can see virtualenv env name with "font" theme, but I can't see conda env name.
This is virtualenv
And this is conda
Any fix?