JanDeDobbeleer / oh-my-posh

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

Color Leaking in Python virtual enviroment #5784

Closed imegeek closed 3 weeks ago

imegeek commented 3 weeks ago

Code of Conduct

What happened?

A bug happened!

image

Theme

minimalsys.omp.json

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

Version: 23.20.3

Shell: powershell (5.1.26100.2161)

Prompt:

   ~                                  0ms    CPU: 78   RAM: 6/8GB 
 

Segments:

ConsoleTitle(false)                        -   0 ms
Os(true)                                   -   1 ms
Path(true)                                 -   2 ms
Executiontime(true)                        -   0 ms
Sysinfo(true)                              -   0 ms
Sysinfo(true)                              -   0 ms
Exit(true)                                 -   0 ms

Run duration: 8.2785ms

Cache path: C:\Users\ankush\AppData\Local\oh-my-posh

Config path: C:\Users\ankush\AppData\Local\Programs\oh-my-posh\themes\minimalsys.omp.json

Logs:

[DEBUG] 12:48:52.704 debug.go:49 → debug mode enabled
[DEBUG] 12:48:52.704 debug.go:49 → plain mode enabled
[DEBUG] 12:48:52.704 terminal.go:Getenv:164 → C:\Users\ankush\AppData\Local
[TRACE] 12:48:52.704 terminal.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 12:48:52.704 terminal.go:CachePath() - 0s
[DEBUG] 12:48:52.704 terminal.go:70 → loading cache file: C:\Users\ankush\AppData\Local\oh-my-posh\omp.cache
[DEBUG] 12:48:52.704 terminal.go:70 → loading cache key: upgrade_check
[TRACE] 12:48:52.704 terminal.go(C:\Users\ankush\AppData\Local\oh-my-posh\omp.cache) - 0s
[DEBUG] 12:48:52.704 terminal.go:Getenv:164 → C:\Users\ankush\AppData\Local
[TRACE] 12:48:52.704 terminal.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 12:48:52.704 terminal.go:CachePath() - 0s
[DEBUG] 12:48:52.704 terminal.go:70 → loading cache file: C:\Users\ankush\AppData\Local\oh-my-posh\omp.cache.a6959941-fee2-408a-b5b1-2e847fe565d9
[DEBUG] 12:48:52.704 terminal.go:70 → loading cache key: prompt_count_cache
[TRACE] 12:48:52.704 terminal.go(C:\Users\ankush\AppData\Local\oh-my-posh\omp.cache.a6959941-fee2-408a-b5b1-2e847fe565d9) - 0s
[TRACE] 12:48:52.704 terminal.go:setPromptCount() - 0s
[DEBUG] 12:48:52.704 terminal.go:Getenv:164 → C:\Users\ankush\AppData\Local\Programs\oh-my-posh\themes\minimalsys.omp.json
[TRACE] 12:48:52.704 terminal.go:Getenv(POSH_THEME) - 0s
[DEBUG] 12:48:52.704 terminal.go:ResolveConfigPath:96 → config set using POSH_THEME: C:\Users\ankush\AppData\Local\Programs\oh-my-posh\themes\minimalsys.omp.json
[TRACE] 12:48:52.704 terminal.go:ResolveConfigPath() - 0s
[TRACE] 12:48:52.704 terminal.go:Init() - 589.7┬╡s
[TRACE] 12:48:52.705 terminal.go:Flags() - 0s
[TRACE] 12:48:52.705 load.go:loadConfig() - 1.1976ms
[TRACE] 12:48:52.705 terminal.go:Flags() - 0s
[DEBUG] 12:48:52.705 debug.go:57 → terminal program: Windows Terminal
[DEBUG] 12:48:52.705 debug.go:57 → terminal shell: shell
[DEBUG] 12:48:52.705 terminal.go:Getenv:164 → NO DATA
[TRACE] 12:48:52.705 terminal.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 12:48:52.705 terminal_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[DEBUG] 12:48:52.705 terminal_windows.go:WindowsRegistryKeyValue:215 → ColorizationColor(DWORD): 0xC41A73E8
[TRACE] 12:48:52.705 colors_windows.go:GetAccentColor() - 0s
[TRACE] 12:48:52.705 colors.go:SetAccentColor() - 0s
[TRACE] 12:48:52.705 terminal.go:Shell() - 0s
[DEBUG] 12:48:52.705 terminal.go:Getenv:164 → 5.1.26100.2161
[TRACE] 12:48:52.705 terminal.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 12:48:52.705 debug.go:PrintDebug:23 → segment: Title
[DEBUG] 12:48:52.705 text.go:Render:80 → rendering template: 
[TRACE] 12:48:52.705 terminal.go:Flags() - 0s
[TRACE] 12:48:52.705 terminal.go:Shell() - 0s
[DEBUG] 12:48:52.705 terminal.go:Getenv:164 → 30
[TRACE] 12:48:52.705 terminal.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 12:48:52.705 terminal.go:Getenv:164 → 1
[TRACE] 12:48:52.705 terminal.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 12:48:52.705 terminal.go:Flags() - 0s
[TRACE] 12:48:52.705 terminal.go:Flags() - 0s
[TRACE] 12:48:52.705 terminal.go:Flags() - 0s
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.705 terminal.go:PathSeparator() - 0s
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.705 terminal.go:Flags() - 0s
[TRACE] 12:48:52.705 terminal.go:Flags() - 0s
[DEBUG] 12:48:52.705 terminal.go:Pwd:189 → C:\Users\ankush
[TRACE] 12:48:52.705 terminal.go:Pwd() - 0s
[DEBUG] 12:48:52.705 terminal_windows.go:58 → C:\Users\ankush
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[DEBUG] 12:48:52.705 segment.go:SetEnabled:115 → segment: Os
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.705 terminal.go:Pwd() - 0s
[DEBUG] 12:48:52.705 os.go:Enabled:34 → 
[DEBUG] 12:48:52.705 terminal_windows.go:58 → C:\Users\ankush
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[DEBUG] 12:48:52.705 segment.go:SetEnabled:115 → segment: Git
[TRACE] 12:48:52.705 terminal.go:GOOS() - 0s
[DEBUG] 12:48:52.705 terminal.go:Getenv:164 → C:\Users\ankush\AppData\Local
[TRACE] 12:48:52.705 terminal.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 12:48:52.705 terminal.go:Pwd() - 0s
[DEBUG] 12:48:52.705 terminal_windows.go:58 → C:\Users\ankush
[TRACE] 12:48:52.705 terminal_windows.go:Root() - 0s
[TRACE] 12:48:52.706 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.706 terminal.go:Shell() - 0s
[DEBUG] 12:48:52.706 segment.go:SetEnabled:115 → segment: Path
[TRACE] 12:48:52.706 terminal_windows.go:IsWsl() - 0s
[DEBUG] 12:48:52.706 path.go:149 → display_cygpath: false
[TRACE] 12:48:52.706 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.706 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.706 terminal.go:PathSeparator() - 0s
[TRACE] 12:48:52.706 terminal.go:Pwd() - 0s
[TRACE] 12:48:52.706 terminal.go:Shell() - 0s
[TRACE] 12:48:52.706 terminal.go:Shell() - 0s
[TRACE] 12:48:52.706 terminal.go:Flags() - 0s
[TRACE] 12:48:52.706 terminal.go:GOOS() - 0s
[DEBUG] 12:48:52.706 terminal.go:TemplateCache:673 → environment: [ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\ankush\AppData\Roaming CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=REALME-BOOK14 ComSpec=C:\WINDOWS\system32\cmd.exe CONDA_PROMPT_MODIFIER=False DriverData=C:\Windows\System32\Drivers\DriverData HOMEDRIVE=C: HOMEPATH=\Users\ankush LOCALAPPDATA=C:\Users\ankush\AppData\Local LOGONSERVER=\\REALME-BOOK14 NUMBER_OF_PROCESSORS=4 OneDrive=C:\Users\ankush\OneDrive OneDriveConsumer=C:\Users\ankush\OneDrive OS=Windows_NT Path=C:\Users\ankush\.venv/Scripts;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Oracle\Java\java8path;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\nodejs\;C:\msys64\usr\bin;C:\msys64\mingw64\bin;C:\Users\ankush\AppData\Local\Programs\Python\Python312\Scripts\;C:\Users\ankush\AppData\Local\Programs\Python\Python312\;C:\Users\ankush\AppData\Local\Programs\Python\Launcher\;C:\Users\ankush\scoop\shims;C:\Users\ankush\AppData\Local\Microsoft\WindowsApps;D:\Program Files\Microsoft VS Code\bin;C:\Users\ankush\AppData\Local\Programs\oh-my-posh\bin;C:\Users\ankush\AppData\Roaming\npm;C:\Users\ankush\.deno\bin;;D:\Programs\android\cmdline-tools\latest\bin;D:\Programs\android\platform-tools;D:\Programs\android\emulator;D:\Programs\apktool_2.7.0;D:\Programs\btop4win;D:\Programs\croc_9.6.6_Windows-64bit;D:\Programs\DirBuster-1.0-RC1;D:\Programs\docker-20.10.10;D:\Programs\EasySideload-WSA-main;D:\Programs\exiftool-12.42;D:\Programs\ffmpeg-7.0-full_build-shared\bin;D:\Programs\FIGlet-Win32(static);D:\Programs\git-sizer-1.5.0-windows-amd64;D:\Programs\gobuster_3.5.0_Windows_i386;D:\Programs\gophie_Windows_x86_64;D:\Programs\hashcat-6.2.6;D:\Programs\iperf-3.1.3-win64;D:\Programs\loclx-windows-amd64;D:\Programs\Ntop;D:\Programs\N_m3u8DL;D:\Programs\obsidian-pandoc;D:\Programs\onefetch-win;D:\Programs\ookla-speedtest-1.2.0-win64;D:\Programs\OpenHardwareMonitor;D:\Programs\openvpn-client;D:\Programs\rclone-windows-amd64;D:\Programs\scrcpy-win64-v1.23;D:\Programs\selenium-grid;D:\Programs\sqlmapproject-sqlmap-bb48dd0;D:\Programs\syncthing-windows-amd64-v1.23.6;D:\Programs\thc-hydra-windows-v9.1;D:\Programs\tor-expert-bundle-windows-x86_64-13.0.13;D:\Programs\upx-4.1.0-win64;D:\Programs\viu-x86_64-pc-windows-msvc;D:\Programs\windows-amd64-filebrowser;D:\Programs\windows-tor-bundle;D:\Programs\windows-tor-proxy;D:\Programs\wkhtmltox-0.12.6-1.mxe-cross-win64\wkhtmltox\bin;D:\Programs\localtonet-win-64 PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL POSH_CURSOR_COLUMN=1 POSH_CURSOR_LINE=30 POSH_INSTALLER=scoop POSH_SESSION_ID=a6959941-fee2-408a-b5b1-2e847fe565d9 POSH_SHELL_VERSION=5.1.26100.2161 POSH_THEME=C:\Users\ankush\AppData\Local\Programs\oh-my-posh\themes\minimalsys.omp.json POSH_THEMES_PATH=C:\Users\ankush\AppData\Local\Programs\oh-my-posh\themes POWERLINE_COMMAND=oh-my-posh PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 140 Stepping 1, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=8c01 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PSModulePath=C:\Users\ankush\OneDrive\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules PUBLIC=C:\Users\Public SDL_AUDIODRIVER=directsound SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\WINDOWS TEMP=C:\Users\ankush\AppData\Local\Temp TMP=C:\Users\ankush\AppData\Local\Temp USERDOMAIN=REALME-BOOK14 USERDOMAIN_ROAMINGPROFILE=REALME-BOOK14 USERNAME=ankush USERPROFILE=C:\Users\ankush VIRTUAL_ENV=C:\Users\ankush\.venv VIRTUAL_ENV_PROMPT=.venv windir=C:\WINDOWS WSLENV=WT_SESSION:WT_PROFILE_ID: WT_PROFILE_ID={61c54bbd-c2c6-5271-96e7-009a87ff44bf} WT_SESSION=d75434b8-dbc9-4dcc-9761-2f55c712baf8 ZES_ENABLE_SYSMAN=1]
[TRACE] 12:48:52.706 terminal.go:Pwd() - 0s
[DEBUG] 12:48:52.706 terminal_windows.go:58 → C:\Users\ankush
[TRACE] 12:48:52.706 terminal_windows.go:IsWsl() - 0s
[TRACE] 12:48:52.706 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.706 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.706 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.706 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.706 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.706 terminal_windows.go:Root() - 0s
[DEBUG] 12:48:52.707 path.go:setMappedLocations:563 → mapped_locations_enabled: true
[DEBUG] 12:48:52.707 path.go:setMappedLocations:564 → 
[DEBUG] 12:48:52.707 path.go:setMappedLocations:565 → 
[DEBUG] 12:48:52.707 terminal_windows.go:58 → C:\Users\ankush
[TRACE] 12:48:52.707 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.707 terminal.go:PathSeparator() - 0s
[TRACE] 12:48:52.707 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.707 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.707 terminal.go:GOOS() - 0s
[DEBUG] 12:48:52.707 path.go:setMappedLocations:566 → ~
[DEBUG] 12:48:52.707 path.go:setMappedLocations:571 → mapped_locations: map[]
[TRACE] 12:48:52.707 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.707 terminal.go:PathSeparator() - 0s
[TRACE] 12:48:52.707 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.707 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.707 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.707 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.707 terminal.go:PathSeparator() - 0s
[TRACE] 12:48:52.707 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.707 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.707 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.707 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.707 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.707 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.707 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.707 terminal.go:Flags() - 0s
[DEBUG] 12:48:52.707 path.go:colorizePath:740 → cycle: []
[DEBUG] 12:48:52.707 path.go:getFolderSeparator:273 → NO DATA
[DEBUG] 12:48:52.707 path.go:getFolderSeparator:275 → \
[DEBUG] 12:48:52.707 path.go:colorizePath:743 → cycle_folder_separator: false
[DEBUG] 12:48:52.707 path.go:colorizePath:744 → %s
[DEBUG] 12:48:52.707 path.go:colorizePath:746 → %s
[DEBUG] 12:48:52.707 path.go:colorizePath:747 → %s
[TRACE] 12:48:52.707 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.707 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.707 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.707 terminal.go:GOOS() - 0s
[DEBUG] 12:48:52.707 terminal.go:User:330 → ankush
[TRACE] 12:48:52.707 terminal.go:User() - 0s
[DEBUG] 12:48:52.707 terminal.go:Host:347 → realme-book14
[TRACE] 12:48:52.707 terminal.go:Host() - 0s
[TRACE] 12:48:52.707 terminal.go:GOOS() - 0s
[DEBUG] 12:48:52.707 terminal.go:Getenv:164 → NO DATA
[TRACE] 12:48:52.707 terminal.go:Getenv(SHLVL) - 0s
[TRACE] 12:48:52.707 terminal.go:TemplateCache() - 1.7051ms
[TRACE] 12:48:52.707 terminal.go:TemplateCache() - 0s
[TRACE] 12:48:52.707 terminal.go:GOOS() - 0s
[TRACE] 12:48:52.707 terminal.go:StackCount() - 0s
[DEBUG] 12:48:52.708 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 12:48:52.708 win32_windows.go:isWriteable:303 → current user is member of S-1-5-32-544
[DEBUG] 12:48:52.708 win32_windows.go:isWriteable:311 Γåô
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 12:48:52.708 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 12:48:52.708 terminal_windows.go:DirIsWritable() - 1.0168ms
[TRACE] 12:48:52.708 terminal.go:TemplateCache() - 0s
[DEBUG] 12:48:52.709 terminal.go:CommandPath:394 → C:\msys64\usr\bin\git.exe
[TRACE] 12:48:52.709 terminal.go:CommandPath(git.exe) - 3.9057ms
[TRACE] 12:48:52.709 terminal.go:HasCommand(git.exe) - 3.9057ms
[DEBUG] 12:48:52.709 git.go:shouldDisplay:312 → fetch_bare_info: false
[TRACE] 12:48:52.709 terminal.go:Pwd() - 0s
[DEBUG] 12:48:52.709 terminal.go:ResolveSymlink:286 → C:\Users\ankush
[TRACE] 12:48:52.709 terminal.go:ResolveSymlink(C:\Users\ankush) - 0s
[ERROR] 12:48:52.709 terminal.go:HasParentFilePath:558 → CreateFile .git: The system cannot find the file specified.
[TRACE] 12:48:52.709 terminal.go:HasParentFilePath(.git) - 0s
[DEBUG] 12:48:52.709 text.go:Render:80 → rendering template:  {{ if .WSL }}WSL at {{ end }}{{.Icon}} 
[TRACE] 12:48:52.709 terminal.go:Flags() - 0s
[DEBUG] 12:48:52.709 text.go:Render:80 → rendering template:  {{ .Path }} 
[TRACE] 12:48:52.709 terminal.go:Flags() - 0s
[TRACE] 12:48:52.710 terminal.go:TemplateCache() - 0s
[TRACE] 12:48:52.710 terminal.go:TemplateCache() - 0s
[DEBUG] 12:48:52.710 text.go:Render:80 → rendering template: diamond
[TRACE] 12:48:52.710 terminal.go:Flags() - 0s
[DEBUG] 12:48:52.710 text.go:Render:80 → rendering template: powerline
[TRACE] 12:48:52.710 terminal.go:Flags() - 0s
[DEBUG] 12:48:52.710 text.go:Render:80 → rendering template: diamond
[TRACE] 12:48:52.710 terminal.go:Flags() - 0s
[DEBUG] 12:48:52.710 text.go:Render:80 → rendering template: powerline
[TRACE] 12:48:52.710 terminal.go:Flags() - 0s
[TRACE] 12:48:52.710 terminal.go:Shell() - 0s
[TRACE] 12:48:52.710 terminal.go:Shell() - 0s
[TRACE] 12:48:52.710 terminal.go:Flags() - 0s
[DEBUG] 12:48:52.710 sysinfo.go:Init:36 → precision: 2
[TRACE] 12:48:52.710 terminal.go:Flags() - 0s
[TRACE] 12:48:52.710 terminal.go:Flags() - 0s
[TRACE] 12:48:52.710 terminal.go:Pwd() - 0s
[DEBUG] 12:48:52.710 sysinfo.go:Init:36 → precision: 2
[DEBUG] 12:48:52.710 terminal_windows.go:58 → C:\Users\ankush
[TRACE] 12:48:52.710 terminal.go:GOOS() - 0s
[DEBUG] 12:48:52.710 segment.go:SetEnabled:115 → segment: Executiontime
[TRACE] 12:48:52.710 terminal.go:Pwd() - 0s
[DEBUG] 12:48:52.710 executiontime.go:Enabled:57 → always_enabled: false
[TRACE] 12:48:52.710 terminal.go:ExecutionTime() - 0s
[DEBUG] 12:48:52.710 terminal_windows.go:58 → C:\Users\ankush
[TRACE] 12:48:52.710 terminal.go:Pwd() - 0s
[DEBUG] 12:48:52.710 executiontime.go:Enabled:59 → threshold: 0.000000
[DEBUG] 12:48:52.710 executiontime.go:Enabled:63 → roundrock
[TRACE] 12:48:52.710 terminal.go:GOOS() - 0s
[DEBUG] 12:48:52.710 terminal_windows.go:58 → C:\Users\ankush
[TRACE] 12:48:52.710 terminal.go:GOOS() - 0s
[DEBUG] 12:48:52.710 segment.go:SetEnabled:115 → segment: Sysinfo
[TRACE] 12:48:52.710 terminal.go:TemplateCache() - 0s
[DEBUG] 12:48:52.710 segment.go:SetEnabled:115 → segment: Sysinfo
[TRACE] 12:48:52.710 terminal.go:TemplateCache() - 0s
[DEBUG] 12:48:52.710 text.go:Render:80 → rendering template: <#303030></> RAM: {{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB 
[TRACE] 12:48:52.710 terminal.go:Flags() - 0s
[DEBUG] 12:48:52.710 text.go:Render:80 → rendering template:   {{ .FormattedMs }} 
[TRACE] 12:48:52.710 terminal.go:Flags() - 0s
[DEBUG] 12:48:52.710 text.go:Render:80 → rendering template:   CPU: {{ round .PhysicalPercentUsed .Precision }}  
[TRACE] 12:48:52.710 terminal.go:Flags() - 0s
[TRACE] 12:48:52.710 terminal.go:TemplateCache() - 0s
[TRACE] 12:48:52.710 terminal.go:TemplateCache() - 0s
[TRACE] 12:48:52.710 terminal.go:TemplateCache() - 0s
[DEBUG] 12:48:52.710 text.go:Render:80 → rendering template: diamond
[TRACE] 12:48:52.710 terminal.go:Flags() - 0s
[DEBUG] 12:48:52.710 text.go:Render:80 → rendering template: diamond
[TRACE] 12:48:52.710 terminal.go:Flags() - 0s
[DEBUG] 12:48:52.710 text.go:Render:80 → rendering template: diamond
[TRACE] 12:48:52.710 terminal.go:Flags() - 0s
[DEBUG] 12:48:52.710 terminal_windows.go:TerminalWidth:116 → terminal width: 79
[TRACE] 12:48:52.710 terminal_windows.go:TerminalWidth() - 0s
[TRACE] 12:48:52.710 terminal.go:Shell() - 0s
[TRACE] 12:48:52.710 terminal.go:Shell() - 0s
[TRACE] 12:48:52.710 terminal.go:Flags() - 0s
[TRACE] 12:48:52.710 terminal.go:Flags() - 0s
[TRACE] 12:48:52.710 terminal.go:Pwd() - 0s
[DEBUG] 12:48:52.710 status.go:Init:53 → {{ .Code }}
[DEBUG] 12:48:52.710 terminal_windows.go:58 → C:\Users\ankush
[TRACE] 12:48:52.710 terminal.go:Pwd() - 0s
[TRACE] 12:48:52.710 terminal.go:GOOS() - 0s
[DEBUG] 12:48:52.710 segment.go:SetEnabled:115 → segment: Text
[DEBUG] 12:48:52.710 terminal_windows.go:58 → C:\Users\ankush
[TRACE] 12:48:52.710 terminal.go:TemplateCache() - 0s
[TRACE] 12:48:52.710 terminal.go:GOOS() - 0s
[DEBUG] 12:48:52.710 segment.go:SetEnabled:115 → segment: Exit
[TRACE] 12:48:52.710 terminal.go:StatusCodes() - 0s
[DEBUG] 12:48:52.710 text.go:Render:80 → rendering template: {{ .Code }}
[TRACE] 12:48:52.710 terminal.go:Flags() - 0s
[TRACE] 12:48:52.710 terminal.go:TemplateCache() - 0s
[DEBUG] 12:48:52.710 status.go:Enabled:42 → always_enabled: true
[TRACE] 12:48:52.710 terminal.go:TemplateCache() - 0s
[DEBUG] 12:48:52.710 text.go:Render:80 → rendering template:  
[TRACE] 12:48:52.710 terminal.go:Flags() - 0s
[DEBUG] 12:48:52.710 text.go:Render:80 → rendering template:   
[TRACE] 12:48:52.710 terminal.go:Flags() - 0s
[TRACE] 12:48:52.710 terminal.go:TemplateCache() - 0s
[DEBUG] 12:48:52.710 text.go:Render:80 → rendering template: plain
[TRACE] 12:48:52.710 terminal.go:Flags() - 0s
[DEBUG] 12:48:52.710 text.go:Render:80 → rendering template: {{ if gt .Code 0 }}#ef5350{{ end }}
[TRACE] 12:48:52.710 terminal.go:Flags() - 0s
[TRACE] 12:48:52.711 terminal.go:TemplateCache() - 0s
[DEBUG] 12:48:52.711 text.go:Render:80 → rendering template: plain
[TRACE] 12:48:52.711 terminal.go:Flags() - 0s
[DEBUG] 12:48:52.711 text.go:Render:80 → rendering template: {{ if gt .Code 0 }}#ef5350{{ end }}
[TRACE] 12:48:52.711 terminal.go:Flags() - 0s
[TRACE] 12:48:52.712 terminal.go:TemplateCache() - 0s
[TRACE] 12:48:52.712 terminal.go:Shell() - 0s
[TRACE] 12:48:52.712 terminal.go:Shell() - 0s
[TRACE] 12:48:52.712 terminal.go:Shell() - 0s
[DEBUG] 12:48:52.712 terminal.go:Getenv:164 → C:\Users\ankush\AppData\Local
[TRACE] 12:48:52.712 terminal.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 12:48:52.712 terminal.go:CachePath() - 0s
[TRACE] 12:48:52.712 terminal.go:Flags() - 0s
JanDeDobbeleer commented 3 weeks ago

@imegeek that's a PowerShell bug. You need to set patch_pwsh_bleed to true in your configuration.

imegeek commented 3 weeks ago

@imegeek that's a PowerShell bug. You need to set patch_pwsh_bleed to true in your configuration.

Thanks for reply, now its gone.