JanDeDobbeleer / oh-my-posh

The most customisable and low-latency cross platform/shell prompt renderer
https://ohmyposh.dev
MIT License
17.51k stars 2.4k forks source link

Micromamba environment showing incorrect python version #5856

Closed arpitg95 closed 2 weeks ago

arpitg95 commented 2 weeks ago

Code of Conduct

What happened?

The python 3.13 environment (made using Micromamba) is incorrectly depicted as 3.12.7 in oh-my-posh.

Screenshot 2024-11-08 at 12 37 27

Theme

my_wholespace

What OS are you seeing the problem on?

macOS

Which shell are you using?

zsh

Log output

Version: 24.0.1

Shell: zsh (5.9)

Prompt:

   ⌚ 12:38:15  CPU: 2.14% | RAM: 35/36GB   0ms 
  3.12.7 python3_13  home   

Segments:

ConsoleTitle(true)                         -   0 ms
Os(true)                                   -   0 ms
Time(true)                                 -   0 ms
Sysinfo(true)                              -   0 ms
Sysinfo(true)                              -   0 ms
Executiontime(true)                        -   0 ms
Node(false)                                -   0 ms
Git(false)                                 -   0 ms
Python(true)                               -   0 ms
Path(true)                                 -   0 ms
Status(true)                               -   0 ms

Run duration: 14.290625ms

Cache path: /Users/arpit/.cache/oh-my-posh

Config path: /Users/arpit/.my_wholespace.omp.json

Logs:

[DEBUG] 12:38:15.643 debug.go:50 → debug mode enabled
[DEBUG] 12:38:15.643 debug.go:50 → plain mode enabled
[DEBUG] 12:38:15.643 terminal.go:Getenv:161 → NO DATA
[TRACE] 12:38:15.643 terminal.go:Getenv(LOCALAPPDATA) - 24.042µs
[DEBUG] 12:38:15.643 terminal.go:Getenv:161 → NO DATA
[TRACE] 12:38:15.643 terminal.go:Getenv(OMP_CACHE_DIR) - 1.375µs
[DEBUG] 12:38:15.643 terminal.go:Getenv:161 → NO DATA
[TRACE] 12:38:15.643 terminal.go:Getenv(XDG_CACHE_HOME) - 1.292µs
[TRACE] 12:38:15.643 terminal.go:CachePath() - 41.5µs
[DEBUG] 12:38:15.643 terminal.go:65 → loading cache file: /Users/arpit/.cache/oh-my-posh/omp.cache
[DEBUG] 12:38:15.643 terminal.go:65 → loading cache key: environment_platform
[DEBUG] 12:38:15.643 terminal.go:65 → loading cache key: is_wsl
[DEBUG] 12:38:15.643 terminal.go:65 → loading cache key: version_python
[TRACE] 12:38:15.643 terminal.go(/Users/arpit/.cache/oh-my-posh/omp.cache) - 182.459µs
[DEBUG] 12:38:15.643 terminal.go:Getenv:161 → NO DATA
[TRACE] 12:38:15.643 terminal.go:Getenv(LOCALAPPDATA) - 1.458µs
[DEBUG] 12:38:15.643 terminal.go:Getenv:161 → NO DATA
[TRACE] 12:38:15.643 terminal.go:Getenv(OMP_CACHE_DIR) - 1.25µs
[DEBUG] 12:38:15.643 terminal.go:Getenv:161 → NO DATA
[TRACE] 12:38:15.643 terminal.go:Getenv(XDG_CACHE_HOME) - 1.208µs
[TRACE] 12:38:15.643 terminal.go:CachePath() - 16.125µs
[DEBUG] 12:38:15.643 terminal.go:65 → loading cache file: /Users/arpit/.cache/oh-my-posh/omp.cache.4635e40f-1f4b-4d4b-b878-5035d9e1fd4a
[TRACE] 12:38:15.643 terminal.go(/Users/arpit/.cache/oh-my-posh/omp.cache.4635e40f-1f4b-4d4b-b878-5035d9e1fd4a) - 149.291µs
[TRACE] 12:38:15.643 terminal.go:setPromptCount() - 209ns
[TRACE] 12:38:15.643 terminal.go:GOOS() - 166ns
[DEBUG] 12:38:15.643 terminal.go:setPwd:194 → /Users/arpit
[TRACE] 12:38:15.643 terminal.go:setPwd() - 7.083µs
[DEBUG] 12:38:15.643 terminal.go:Getenv:161 → /Users/arpit/.my_wholespace.omp.json
[TRACE] 12:38:15.643 terminal.go:Getenv(POSH_THEME) - 1.5µs
[DEBUG] 12:38:15.643 terminal.go:ResolveConfigPath:93 → config set using POSH_THEME: /Users/arpit/.my_wholespace.omp.json
[TRACE] 12:38:15.643 terminal.go:ResolveConfigPath() - 4.917µs
[TRACE] 12:38:15.643 terminal.go:Init() - 674.5µs
[TRACE] 12:38:15.643 terminal.go:Shell() - 83ns
[TRACE] 12:38:15.643 terminal.go:Flags() - 42ns
[TRACE] 12:38:15.644 load.go:loadConfig() - 543.125µs
[TRACE] 12:38:15.644 terminal.go:Flags() - 42ns
[DEBUG] 12:38:15.644 debug.go:60 → terminal program: Apple_Terminal
[DEBUG] 12:38:15.644 debug.go:60 → terminal shell: shell
[DEBUG] 12:38:15.644 terminal.go:Getenv:161 → NO DATA
[TRACE] 12:38:15.644 terminal.go:Getenv(OMP_CACHE_DISABLED) - 1.292µs
[ERROR] 12:38:15.654 terminal.go:RunCommand:368 → exit status 1
[DEBUG] 12:38:15.654 terminal.go:RunCommand:371 ↓
    2024-11-08 12:38:15.653 defaults[46356:964197] 
    The domain/default pair of (kCFPreferencesAnyApplication, AppleAccentColor) does not exist

[TRACE] 12:38:15.654 terminal.go:RunCommand(defaults read -g AppleAccentColor) - 10.307375ms
[ERROR] 12:38:15.654 colors_darwin.go:GetAccentColor:13 → exit status 1
[TRACE] 12:38:15.654 colors.go:SetAccentColor() - 10.341209ms
[TRACE] 12:38:15.654 terminal.go:Shell() - 333ns
[DEBUG] 12:38:15.654 terminal.go:Getenv:161 → 5.9
[TRACE] 12:38:15.654 terminal.go:Getenv(POSH_SHELL_VERSION) - 4.208µs
[DEBUG] 12:38:15.654 debug.go:PrintDebug:23 → segment: Title
[TRACE] 12:38:15.654 terminal_unix.go:Root() - 459ns
[TRACE] 12:38:15.654 terminal.go:Shell() - 42ns
[TRACE] 12:38:15.654 terminal.go:StatusCodes() - 0s
[DEBUG] 12:38:15.654 terminal_unix.go:IsWsl:35 → false
[TRACE] 12:38:15.654 terminal_unix.go:IsWsl() - 6.583µs
[DEBUG] 12:38:15.654 terminal_unix.go:IsWsl:35 → false
[TRACE] 12:38:15.654 terminal_unix.go:IsWsl() - 1.25µs
[TRACE] 12:38:15.654 terminal.go:GOOS() - 0s
[TRACE] 12:38:15.654 terminal.go:GOOS() - 0s
[TRACE] 12:38:15.654 terminal.go:GOOS() - 41ns
[TRACE] 12:38:15.654 terminal.go:GOOS() - 42ns
[TRACE] 12:38:15.654 terminal.go:GOOS() - 0s
[TRACE] 12:38:15.654 terminal.go:GOOS() - 41ns
[TRACE] 12:38:15.654 terminal.go:GOOS() - 42ns
[DEBUG] 12:38:15.654 terminal.go:User:331 → arpit
[TRACE] 12:38:15.654 terminal.go:User() - 1.75µs
[DEBUG] 12:38:15.654 terminal.go:Host:348 → Arpits-MacBook-Pro
[TRACE] 12:38:15.654 terminal.go:Host() - 7.125µs
[TRACE] 12:38:15.654 terminal.go:GOOS() - 42ns
[DEBUG] 12:38:15.654 terminal.go:Getenv:161 → 1
[TRACE] 12:38:15.654 terminal.go:Getenv(SHLVL) - 1.459µs
[TRACE] 12:38:15.654 terminal.go:TemplateCache() - 63.5µs
[TRACE] 12:38:15.654 text.go:Render({{ .Folder }}) - 300.917µs
[TRACE] 12:38:15.654 terminal.go:Flags() - 41ns
[DEBUG] 12:38:15.654 terminal.go:Getenv:161 → NO DATA
[TRACE] 12:38:15.654 terminal.go:Getenv(POSH_CURSOR_LINE) - 11.333µs
[DEBUG] 12:38:15.654 terminal.go:Getenv:161 → NO DATA
[TRACE] 12:38:15.654 terminal.go:Getenv(POSH_CURSOR_COLUMN) - 1.25µs
[TRACE] 12:38:15.654 terminal.go:Flags() - 42ns
[TRACE] 12:38:15.654 terminal.go:Flags() - 41ns
[TRACE] 12:38:15.655 terminal.go:Flags() - 84ns
[TRACE] 12:38:15.655 terminal.go:GOOS() - 42ns
[TRACE] 12:38:15.655 terminal.go:Flags() - 84ns
[DEBUG] 12:38:15.655 segment.go:Execute:103 → segment: Time
[TRACE] 12:38:15.655 terminal.go:GOOS() - 42ns
[DEBUG] 12:38:15.655 segment.go:Execute:103 → segment: Sysinfo
[TRACE] 12:38:15.655 terminal.go:Flags() - 42ns
[DEBUG] 12:38:15.655 time.go:Enabled:27 → 15:04:05
[TRACE] 12:38:15.655 terminal.go:GOOS() - 0s
[TRACE] 12:38:15.655 terminal.go:TemplateCache() - 83ns
[DEBUG] 12:38:15.655 segment.go:Execute:103 → segment: Executiontime
[DEBUG] 12:38:15.655 sysinfo.go:Enabled:25 → precision: 2
[TRACE] 12:38:15.655 terminal.go:GOOS() - 42ns
[TRACE] 12:38:15.655 terminal.go:Flags() - 0s
[DEBUG] 12:38:15.655 segment.go:Execute:103 → segment: Sysinfo
[TRACE] 12:38:15.655 terminal.go:GOOS() - 0s
[DEBUG] 12:38:15.655 sysinfo.go:Enabled:25 → precision: 2
[DEBUG] 12:38:15.655 segment.go:Execute:103 → segment: Os
[DEBUG] 12:38:15.655 executiontime.go:Enabled:55 → always_enabled: false
[TRACE] 12:38:15.655 terminal.go:GOOS() - 0s
[TRACE] 12:38:15.655 terminal.go:ExecutionTime() - 42ns
[TRACE] 12:38:15.655 terminal.go:TemplateCache() - 0s
[DEBUG] 12:38:15.655 executiontime.go:Enabled:57 → threshold: 0.000000
[DEBUG] 12:38:15.655 executiontime.go:Enabled:61 → roundrock
[TRACE] 12:38:15.655 terminal.go:TemplateCache() - 41ns
[TRACE] 12:38:15.655 terminal.go:TemplateCache() - 125ns
[TRACE] 12:38:15.655 terminal.go:TemplateCache() - 83ns
[TRACE] 12:38:15.655 terminal.go:TemplateCache() - 125ns
[TRACE] 12:38:15.655 text.go:Render( {{ if .WSL }}WSL at {{ end }}{{.Icon}}) - 773.375µs
[TRACE] 12:38:15.655 text.go:Render(diamond) - 83ns
[TRACE] 12:38:15.655 text.go:Render( ⌚ {{ .CurrentDate | date .Format }} ) - 24µs
[TRACE] 12:38:15.655 text.go:Render(diamond) - 84ns
[TRACE] 12:38:15.655 text.go:Render( CPU: {{ round .Load15 .Precision }}% | ) - 16.708µs
[TRACE] 12:38:15.655 text.go:Render(diamond) - 84ns
[TRACE] 12:38:15.656 text.go:Render(RAM: {{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1073741824.0) }}/{{ (div .PhysicalTotalMemory 1073741824.0) }}GB  ) - 27.917µs
[TRACE] 12:38:15.656 text.go:Render(diamond) - 41ns
[TRACE] 12:38:15.656 text.go:Render( {{ .FormattedMs }} ) - 4.875µs
[TRACE] 12:38:15.656 text.go:Render(diamond) - 0s
[TRACE] 12:38:15.656 terminal.go:Shell() - 83ns
[TRACE] 12:38:15.656 terminal.go:Shell() - 0s
[TRACE] 12:38:15.656 terminal.go:Flags() - 42ns
[TRACE] 12:38:15.656 terminal.go:GOOS() - 0s
[DEBUG] 12:38:15.656 segment.go:Execute:103 → segment: Git
[DEBUG] 12:38:15.656 terminal_unix.go:IsWsl:35 → false
[TRACE] 12:38:15.656 terminal_unix.go:IsWsl() - 2.375µs
[TRACE] 12:38:15.656 terminal_unix.go:IsWsl2() - 3.875µs
[TRACE] 12:38:15.656 terminal.go:GOOS() - 42ns
[TRACE] 12:38:15.656 terminal.go:Flags() - 42ns
[TRACE] 12:38:15.656 terminal.go:GOOS() - 42ns
[DEBUG] 12:38:15.656 segment.go:Execute:103 → segment: Node
[DEBUG] 12:38:15.656 language.go:Enabled:117 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .vue]
[DEBUG] 12:38:15.656 language.go:Enabled:118 → folders: []
[DEBUG] 12:38:15.656 language.go:Enabled:125 → home_enabled: false
[TRACE] 12:38:15.656 text.go:Render(diamond) - 375ns
[DEBUG] 12:38:15.656 terminal.go:CommandPath:395 → /usr/bin/git
[TRACE] 12:38:15.656 terminal.go:CommandPath(git) - 265.709µs
[TRACE] 12:38:15.656 terminal.go:HasCommand(git) - 267.541µs
[DEBUG] 12:38:15.656 git.go:shouldDisplay:326 → fetch_bare_info: false
[DEBUG] 12:38:15.656 terminal.go:ResolveSymlink:287 → /Users/arpit
[TRACE] 12:38:15.656 terminal.go:ResolveSymlink(/Users/arpit) - 10.083µs
[ERROR] 12:38:15.656 terminal.go:HasParentFilePath:559 → stat .git: no such file or directory
[TRACE] 12:38:15.656 terminal.go:HasParentFilePath(.git) - 19.125µs
[TRACE] 12:38:15.656 text.go:Render(diamond) - 625ns
[TRACE] 12:38:15.656 terminal.go:Shell() - 42ns
[TRACE] 12:38:15.656 terminal.go:Shell() - 0s
[TRACE] 12:38:15.656 terminal.go:Flags() - 42ns
[TRACE] 12:38:15.656 terminal.go:GOOS() - 0s
[DEBUG] 12:38:15.656 segment.go:Execute:103 → segment: Status
[TRACE] 12:38:15.656 terminal.go:StatusCodes() - 41ns
[DEBUG] 12:38:15.656 status.go:formatStatus:45 → {{ .Code }}
[TRACE] 12:38:15.656 terminal.go:Flags() - 42ns
[TRACE] 12:38:15.656 terminal.go:Flags() - 83ns
[TRACE] 12:38:15.656 terminal.go:GOOS() - 41ns
[DEBUG] 12:38:15.656 segment.go:Execute:103 → segment: Python
[DEBUG] 12:38:15.656 segment.go:Execute:103 → segment: Path
[DEBUG] 12:38:15.656 python.go:Enabled:56 → environment
[DEBUG] 12:38:15.656 path.go:145 → display_cygpath: false
[TRACE] 12:38:15.656 terminal.go:GOOS() - 0s
[TRACE] 12:38:15.656 terminal.go:GOOS() - 42ns
[DEBUG] 12:38:15.656 language.go:Enabled:117 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[TRACE] 12:38:15.656 terminal.go:PathSeparator() - 1.375µs
[DEBUG] 12:38:15.656 language.go:Enabled:118 → folders: [.venv venv virtualenv venv-win pyenv-win]
[TRACE] 12:38:15.656 terminal.go:Shell() - 42ns
[TRACE] 12:38:15.656 terminal.go:Shell() - 0s
[DEBUG] 12:38:15.656 language.go:Enabled:125 → home_enabled: true
[TRACE] 12:38:15.656 terminal.go:GOOS() - 42ns
[DEBUG] 12:38:15.656 python.go:loadContext:64 → fetch_virtual_env: true
[DEBUG] 12:38:15.656 path.go:setMappedLocations:552 → mapped_locations_enabled: true
[DEBUG] 12:38:15.656 path.go:setMappedLocations:553 → 
[DEBUG] 12:38:15.656 path.go:setMappedLocations:554 → 
[DEBUG] 12:38:15.656 terminal.go:CommandPath:395 → /Users/arpit/micromamba/envs/python3_13/bin/python
[TRACE] 12:38:15.656 terminal.go:GOOS() - 0s
[TRACE] 12:38:15.656 terminal.go:CommandPath(python) - 13.166µs
[TRACE] 12:38:15.656 terminal.go:PathSeparator() - 1.208µs
[TRACE] 12:38:15.656 terminal.go:GOOS() - 42ns
[TRACE] 12:38:15.656 terminal.go:GOOS() - 42ns
[TRACE] 12:38:15.656 terminal.go:GOOS() - 0s
[DEBUG] 12:38:15.656 path.go:setMappedLocations:555 → home
[DEBUG] 12:38:15.656 path.go:setMappedLocations:560 → mapped_locations: map[]
[TRACE] 12:38:15.656 terminal.go:GOOS() - 0s
[TRACE] 12:38:15.656 terminal.go:PathSeparator() - 1.166µs
[TRACE] 12:38:15.656 terminal.go:GOOS() - 0s
[TRACE] 12:38:15.656 terminal.go:GOOS() - 0s
[TRACE] 12:38:15.656 terminal.go:GOOS() - 0s
[TRACE] 12:38:15.656 terminal.go:GOOS() - 83ns
[TRACE] 12:38:15.656 terminal.go:PathSeparator() - 1.084µs
[TRACE] 12:38:15.656 terminal.go:GOOS() - 42ns
[TRACE] 12:38:15.656 terminal.go:GOOS() - 41ns
[TRACE] 12:38:15.656 terminal.go:GOOS() - 0s
[TRACE] 12:38:15.656 terminal.go:GOOS() - 0s
[TRACE] 12:38:15.656 terminal.go:GOOS() - 0s
[TRACE] 12:38:15.656 terminal.go:GOOS() - 42ns
[TRACE] 12:38:15.656 terminal.go:GOOS() - 42ns
[TRACE] 12:38:15.656 terminal.go:GOOS() - 0s
[TRACE] 12:38:15.656 terminal.go:Flags() - 0s
[DEBUG] 12:38:15.656 path.go:colorizePath:728 → cycle: []
[DEBUG] 12:38:15.656 path.go:getFolderSeparator:263 → NO DATA
[DEBUG] 12:38:15.656 path.go:getFolderSeparator:265 → /
[DEBUG] 12:38:15.656 path.go:colorizePath:731 → cycle_folder_separator: false
[DEBUG] 12:38:15.656 path.go:colorizePath:732 → %s
[DEBUG] 12:38:15.656 path.go:colorizePath:734 → %s
[DEBUG] 12:38:15.656 path.go:colorizePath:735 → %s
[DEBUG] 12:38:15.656 path.go:colorizePath:736 → %s
[TRACE] 12:38:15.656 terminal.go:TemplateCache() - 0s
[TRACE] 12:38:15.656 terminal.go:TemplateCache() - 0s
[TRACE] 12:38:15.656 terminal.go:GOOS() - 42ns
[TRACE] 12:38:15.656 text.go:Render({{ .Code }}) - 117.209µs
[TRACE] 12:38:15.656 terminal.go:StackCount() - 83ns
[DEBUG] 12:38:15.656 status.go:Enabled:37 → always_enabled: true
[TRACE] 12:38:15.656 terminal.go:TemplateCache() - 42ns
[TRACE] 12:38:15.656 terminal_unix.go:DirIsWritable(/Users/arpit) - 11.5µs
[TRACE] 12:38:15.656 terminal.go:TemplateCache() - 0s
[DEBUG] 12:38:15.656 terminal.go:HasFilesInDir:243 → false
[TRACE] 12:38:15.656 terminal.go:HasFilesInDir(pyvenv.cfg) - 437.167µs
[DEBUG] 12:38:15.657 terminal.go:HasFilesInDir:243 → false
[TRACE] 12:38:15.657 terminal.go:HasFilesInDir(pyvenv.cfg) - 111.25µs
[DEBUG] 12:38:15.657 python.go:loadContext:77 → folder_name_fallback: true
[DEBUG] 12:38:15.657 python.go:loadContext:78 → default_venv_names: [.venv venv]
[DEBUG] 12:38:15.657 terminal.go:Getenv:161 → NO DATA
[TRACE] 12:38:15.657 terminal.go:Getenv(VIRTUAL_ENV) - 1.375µs
[DEBUG] 12:38:15.657 terminal.go:Getenv:161 → NO DATA
[TRACE] 12:38:15.657 terminal.go:Getenv(CONDA_ENV_PATH) - 1.541µs
[DEBUG] 12:38:15.657 terminal.go:Getenv:161 → python3_13
[TRACE] 12:38:15.657 terminal.go:Getenv(CONDA_DEFAULT_ENV) - 1.417µs
[TRACE] 12:38:15.657 terminal.go:GOOS() - 42ns
[TRACE] 12:38:15.657 terminal.go:GOOS() - 42ns
[TRACE] 12:38:15.657 terminal.go:GOOS() - 0s
[TRACE] 12:38:15.657 terminal.go:GOOS() - 42ns
[TRACE] 12:38:15.657 terminal.go:GOOS() - 42ns
[TRACE] 12:38:15.657 terminal.go:GOOS() - 0s
[TRACE] 12:38:15.657 terminal.go:GOOS() - 41ns
[TRACE] 12:38:15.657 terminal.go:GOOS() - 0s
[TRACE] 12:38:15.657 terminal.go:GOOS() - 42ns
[TRACE] 12:38:15.657 terminal.go:GOOS() - 0s
[TRACE] 12:38:15.657 terminal.go:GOOS() - 41ns
[DEBUG] 12:38:15.657 python.go:canUseVenvName:108 → display_default: true
[DEBUG] 12:38:15.657 language.go:Enabled:156 → fetch_version: true
[TRACE] 12:38:15.657 terminal.go:TemplateCache() - 42ns
[TRACE] 12:38:15.657 terminal.go:TemplateCache() - 84ns
[TRACE] 12:38:15.657 text.go:Render(  {{ .Full }} {{ .Venv}}) - 161.792µs
[TRACE] 12:38:15.657 text.go:Render(powerline) - 83ns
[TRACE] 12:38:15.657 text.go:Render(  {{ .Path }} ) - 10.541µs
[TRACE] 12:38:15.657 text.go:Render(diamond) - 41ns
[TRACE] 12:38:15.657 text.go:Render(  ) - 42ns
[TRACE] 12:38:15.657 text.go:Render({{ if gt .Code 0 }}#ff0000{{ end }}) - 18.167µs
[TRACE] 12:38:15.657 text.go:Render(plain) - 125ns
[TRACE] 12:38:15.657 text.go:Render({{ if gt .Code 0 }}#ff0000{{ end }}) - 6.75µs
[TRACE] 12:38:15.657 terminal.go:Shell() - 42ns
[TRACE] 12:38:15.657 terminal.go:Shell() - 41ns
[TRACE] 12:38:15.657 terminal.go:Flags() - 42ns
[TRACE] 12:38:15.657 terminal.go:Shell() - 41ns
[TRACE] 12:38:15.657 terminal.go:Flags() - 0s
[DEBUG] 12:38:15.657 terminal.go:Getenv:161 → NO DATA
[TRACE] 12:38:15.657 terminal.go:Getenv(LOCALAPPDATA) - 1.25µs
[DEBUG] 12:38:15.657 terminal.go:Getenv:161 → NO DATA
[TRACE] 12:38:15.657 terminal.go:Getenv(OMP_CACHE_DIR) - 1.125µs
[DEBUG] 12:38:15.657 terminal.go:Getenv:161 → NO DATA
[TRACE] 12:38:15.657 terminal.go:Getenv(XDG_CACHE_HOME) - 1.041µs
[TRACE] 12:38:15.657 terminal.go:CachePath() - 14µs
[TRACE] 12:38:15.657 terminal.go:Flags() - 0s
JanDeDobbeleer commented 2 weeks ago

@arpitg95 I believe this is due to version caching. Something I still have on my list to solve. If you run oh-my-posh cache clear it should be resolved.

arpitg95 commented 2 weeks ago

Thanks for the resolution! Clearing cache does work. Though as you said, it still needs some work. The python version number doesn't change when changing the environment (with different python version).

JanDeDobbeleer commented 2 weeks ago

@arpitg95 yes, I have that setting on my list today. It will allow you to override the default caching duration (also to 0) where it makes sense.

JanDeDobbeleer commented 2 weeks ago

@arpitg95 it's merged so you'll be able to set "cache_duration": "none" in the python segment's properties right away.