Closed bavtan closed 2 years ago
Your screenshot shows that after activating a virtual environment you can see its name in right prompt. Is this not what you expect? If not, what do you expect?
Your screenshot shows that after activating a virtual environment you can see its name in right prompt. Is this not what you expect? If not, what do you expect?
Hello, thanks for the reply, what I expect to see is similar to traditional output like ( env ) indicator after my dir name like below from another topic: ( he sees 'myenv' after activating it . in my case its 'env' but cant see it? I see only my folder name
On this screenshot the virtual environment called myEnv
is activated (check the source
command) and myEnv
is displayed in prompt. On your screenshot the virtual environment called dna_tests
is activated and dna_tests
is displayed in prompt.
Prompt shows the project from which the virtual environment is currently active. If you want all virtual environments to look alike regardless of the project they came from, you can do it like this:
typeset -g POWERLEVEL9K_VIRTUALENV_CONTENT_EXPANSION=venv
It's almost never a good idea to do that though.
On this screenshot the virtual environment called
myEnv
is activated (check thesource
command) andmyEnv
is displayed in prompt. On your screenshot the virtual environment calleddna_tests
is activated anddna_tests
is displayed in prompt.Prompt shows the project from which the virtual environment is currently active. If you want all virtual environments to look alike regardless of the project they came from, you can do it like this:
typeset -g POWERLEVEL9K_VIRTUALENV_CONTENT_EXPANSION=venv
It's almost never a good idea to do that though.
Thanks, any idea why some figures and symbols are not displayed correctly though? ( like diamond etc is not displayed correctly)
And can we also show venv info on the left side aswell ?
Thanks, any idea why some figures and symbols are not displayed correctly though?
That's because your font doesn't have those glyphs. See https://github.com/romkatv/powerlevel10k#icons-glyphs-or-powerline-symbols-dont-render.
Closing this issue as fixed.
And can we also show venv info on the left side aswell ?
Yes. You can move it anywhere. Edit POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS
and POWERLEVEL9K_LEFT_PROMPT_ELEMENTS
.
Hi,
My config seems ok but when I activate my venv cant see any indicator of (env) on either side.
And config: