Closed netvoip closed 8 months ago
@netvoip this is according to design. When using pyenv, we will use the value in the prompt
field as that's what pyenv also does.
[DEBUG] 18:44:50.543 shell.go:FileContent:537 ↓
home = F:\Python\Python
implementation = CPython
version_info = 3.11.8.final.0
virtualenv = 20.25.1
include-system-site-packages = false
base-prefix = F:\Python\Python
base-exec-prefix = F:\Python\Python
base-executable = F:\Python\Python\python.exe
prompt = F:\Users\User\Envs\django
[TRACE] 18:44:50.543 shell.go:FileContent(F:\Users\User\Envs\django\pyvenv.cfg) - 516.1µs
In this case: prompt = F:\Users\User\Envs\django
.
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.
Code of Conduct
What happened?
I use same config on two computers. On one {{ .Venv }} shows only venv name as expected, on the other it's F:\Users\User\Envs\django. Same version of oh-my-posh - 19.11.4. The only difference is envs folder is located not on C: drive.
Theme
powerlevel10k_rainbow and others
What OS are you seeing the problem on?
Windows
Which shell are you using?
powershell
Log output