JanDeDobbeleer / oh-my-posh

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

python segment doesn't render on home directory #4453

Closed solo-driven closed 1 year ago

solo-driven commented 1 year ago

Code of Conduct

What happened?

After activation of venv, python segment is rendered everywhere except for home dir (C:\Users\user_name).

Theme

oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/atomic.omp.json" | Invoke-Expression

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

oh-my-posh debug --plain

Version: 18.25.0

Shell: powershell (5.1.22621.2428)

Prompt:

╭─ powershell    0ms⠀                                                                              minikube :: default    71   10,10:42 
╰─

Segments:

ConsoleTitle(false)                        -   0 ms
Shell(true)                                -   0 ms
Root(false)                                -   0 ms
Path(true)                                 -   3 ms
Git(false)                                 -   3 ms
Executiontime(true)                        -   0 ms
Node(false)                                -   0 ms
Python(false)                              -   0 ms
Java(false)                                -   0 ms
Dotnet(false)                              -   0 ms
Go(false)                                  -   0 ms
Rust(false)                                -   0 ms
Dart(false)                                -   0 ms
Angular(false)                             -   0 ms
Nx(false)                                  -   0 ms
Julia(false)                               -   0 ms
Ruby(false)                                -   0 ms
Azfunc(false)                              -   0 ms
Aws(false)                                 -   5 ms
Kubectl(true)                              - 162 ms
Os(true)                                   -   0 ms
Battery(true)                              -  17 ms
Time(true)                                 -   0 ms
Text(true)                                 -   0 ms
Status(true)                               -   0 ms

Run duration: 176.6295ms

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

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

Logs:

[DEBUG] 10:42:43.725 shell.go:Getenv:392 → NO DATA
[TRACE] 10:42:43.725 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 10:42:43.725 shell.go:Getenv:392 → C:\Users\yusif\AppData\Local
[TRACE] 10:42:43.725 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 10:42:43.725 shell_windows.go:CachePath() - 0s
[DEBUG] 10:42:43.725 shell.go:Getenv:392 → C:\Users\yusif\AppData\Local\Programs\oh-my-posh\themes\atomic.omp.json
[TRACE] 10:42:43.725 shell.go:Getenv(POSH_THEME) - 0s
[DEBUG] 10:42:43.725 shell.go:Shell:646 → no shell name provided in flags, trying to detect it
[DEBUG] 10:42:43.731 shell.go:Shell:654 → process name: powershell.exe
[TRACE] 10:42:43.731 shell.go:Shell() - 5.5625ms
[TRACE] 10:42:43.731 shell.go:resolveConfigPath() - 5.5625ms
[TRACE] 10:42:43.731 shell.go:Init() - 6.0947ms
[TRACE] 10:42:43.731 shell.go:Flags() - 0s
[TRACE] 10:42:43.733 config.go:loadConfig() - 1.6055ms
[TRACE] 10:42:43.733 shell.go:Flags() - 0s
[DEBUG] 10:42:43.733 shell.go:Getenv:392 → NO DATA
[TRACE] 10:42:43.733 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 10:42:43.733 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[DEBUG] 10:42:43.733 shell_windows.go:WindowsRegistryKeyValue:215 → ColorizationColor(DWORD): 0xC44C4A48
[TRACE] 10:42:43.733 shell.go:Shell() - 0s
[DEBUG] 10:42:43.733 shell.go:Getenv:392 → 5.1.22621.2428
[TRACE] 10:42:43.733 shell.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 10:42:43.733 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 10:42:43.733 text.go:Render:70 → Rendering template:
[DEBUG] 10:42:43.733 shell.go:Getenv:392 → 42
[TRACE] 10:42:43.733 shell.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 10:42:43.733 shell.go:Getenv:392 → 1
[TRACE] 10:42:43.733 shell.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 10:42:43.733 shell.go:Flags() - 0s
[TRACE] 10:42:43.733 shell.go:Flags() - 0s
[TRACE] 10:42:43.733 shell.go:Shell() - 0s
[TRACE] 10:42:43.733 shell.go:Shell() - 0s
[TRACE] 10:42:43.733 shell.go:Flags() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[DEBUG] 10:42:43.733 shell.go:Pwd:422 → C:\Users\yusif
[TRACE] 10:42:43.733 shell.go:Pwd() - 0s
[DEBUG] 10:42:43.733 shell_windows.go:56 → C:\Users\yusif
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[DEBUG] 10:42:43.733 segment.go:SetEnabled:512 → Segment: Executiontime
[DEBUG] 10:42:43.733 properties.go:GetBool:22 → always_enabled: false
[TRACE] 10:42:43.733 shell.go:ExecutionTime() - 0s
[DEBUG] 10:42:43.733 properties.go:GetFloat64:34 → threshold: 0.000000
[DEBUG] 10:42:43.733 properties.go:GetString:28 → roundrock
[TRACE] 10:42:43.733 shell.go:Flags() - 0s
[TRACE] 10:42:43.733 shell_windows.go:Root() - 0s
[TRACE] 10:42:43.733 shell.go:Shell() - 0s
[TRACE] 10:42:43.733 shell.go:StatusCodes() - 0s
[TRACE] 10:42:43.733 shell_windows.go:IsWsl() - 0s
[TRACE] 10:42:43.733 shell.go:Pwd() - 0s
[DEBUG] 10:42:43.733 shell_windows.go:56 → C:\Users\yusif
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[DEBUG] 10:42:43.733 segment.go:SetEnabled:512 → Segment: Root
[TRACE] 10:42:43.733 shell.go:Flags() - 0s
[DEBUG] 10:42:43.733 shell.go:TemplateCache:827 → environment: [ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\yusif\AppData\Roaming ChocolateyInstall=C:\ProgramData\chocolatey ChocolateyLastPathUpdate=133234464777591720 CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=DESKTOP-A0QKAFM ComSpec=C:\WINDOWS\system32\cmd.exe CONDA_PROMPT_MODIFIER=False DriverData=C:\Windows\System32\Drivers\DriverData GOPATH=C:\Users\yusif\go HOMEDRIVE=C: HOMEPATH=\Users\yusif IGCCSVC_DB=AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAFp1MfcQ4zUaxzf9YY3nSsQQAAAACAAAAAAAQZgAAAAEAACAAAACc4bLcVN3Y/UvabRebS07sp309jl/DHRnVgDNCaQmrywAAAAAOgAAAAAIAACAAAAAUyAvEj6/4pi+ruLWDKYFA2q6LLGnXBrCBaFqWFd3DtmAAAABG/FRXJ8YETYmNwJds2najmAqZUUEDK0RW4cpXsKUqVZcGdOj7c1qBze5+1koCPFsyUPIx4cRTNiBll7ncz2wXUIx+uOmghKF1Oy/VOW9ZmyoWQxisnNC/jZ4bS4TpMgVAAAAAaD3zG7r5xYY1bvWnpDXu7aEnBf3Ajk6Z1HCd7lMSANXUYEGq8t82vLIf3EPMAnPYgZSZgliCqjFi1++18s9jlw== IntelliJ IDEA=C:\Program Files\JetBrains\IntelliJ IDEA 2023.1\bin; JAVA_HOME=C:\Program Files\Java\jdk-17.0.5 LOCALAPPDATA=C:\Users\yusif\AppData\Local LOGONSERVER=\\DESKTOP-A0QKAFM NUMBER_OF_PROCESSORS=8 NVM_HOME=C:\Users\yusif\AppData\Roaming\nvm NVM_SYMLINK=C:\Program Files\nodejs OneDrive=C:\Users\yusif\OneDrive OS=Windows_NT Path=C:\Users\yusif\Desktop\AIESTE\iaeste\Scripts;C:\Python311\Scripts\;C:\Python311\;C:\ffmpeg\;C:\Program Files\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:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\WINDOWS\System32\OpenSSH\;C:\MinGW\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Strawberry\c\bin;C:\ProgramData\chocolatey\bin;C:\Users\yusif\AppData\Roaming\nvm;C:\Program Files\Java\jdk-17.0.5\bin;C:\Program Files\kotlinc\bin;C:\Program Files\Kubernetes;C:\Program Files\Docker\Docker\resources\bin;C:\Program Files\Kubernetes\Minikube;C:\Program Files\Ngrok;C:\Program Files\PostgreSQL\15\bin;C:\Program Files\GitHub CLI\;C:\Program Files\Go\bin;C:\Program Files\PuTTY\;C:\Program Files\dotnet\;C:\Users\yusif\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Users\yusif\AppData\Local\Microsoft\WindowsApps;C:\Users\yusif\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\yusif\AppData\Local\Programs\MiKTeX\miktex\bin\x64\;C:\Users\yusif\flutter\bin;C:\Program Files\MySQL\MySQL Server 8.0\bin\;C:\Users\yusif\AppData\Roaming\npm;C:\Users\yusif\AppData\Roaming\nvm;C:\Program Files\JetBrains\IntelliJ IDEA 2023.1\bin;C:\Users\yusif\go\bin;C:\Users\yusif\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Users\yusif\AppData\Local\Programs\oh-my-posh\bin PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW;.CPL PGDATA=C:\Program Files\PostgreSQL\15\data POSH_AZURE_ENABLED=False POSH_CURSOR_COLUMN=1 POSH_CURSOR_LINE=42 POSH_GIT_ENABLED=False POSH_INSTALLER=winget POSH_PID=14184 POSH_SHELL_VERSION=5.1.22621.2428 POSH_THEME=C:\Users\yusif\AppData\Local\Programs\oh-my-posh\themes\atomic.omp.json POSH_THEMES_PATH=C:\Users\yusif\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\yusif\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules PT8HOME=C:\Program Files\Cisco Packet Tracer 8.2.1 PUBLIC=C:\Users\Public SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\WINDOWS TEMP=C:\Users\yusif\AppData\Local\Temp TMP=C:\Users\yusif\AppData\Local\Temp USERDOMAIN=DESKTOP-A0QKAFM USERDOMAIN_ROAMINGPROFILE=DESKTOP-A0QKAFM USERNAME=yusif USERPROFILE=C:\Users\yusif VIRTUAL_ENV=C:\Users\yusif\Desktop\AIESTE\iaeste VIRTUAL_ENV_DISABLE_PROMPT=1 windir=C:\WINDOWS WSLENV=WT_SESSION:WT_PROFILE_ID: WT_PROFILE_ID={61c54bbd-c2c6-5271-96e7-009a87ff44bf} WT_SESSION=f1081e2d-fa6a-4c14-90bc-deddd658e368 ZES_ENABLE_SYSMAN=1 _OLD_VIRTUAL_PATH=C:\Python311\Scripts\;C:\Python311\;C:\ffmpeg\;C:\Program Files\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:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\WINDOWS\System32\OpenSSH\;C:\MinGW\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Strawberry\c\bin;C:\ProgramData\chocolatey\bin;C:\Users\yusif\AppData\Roaming\nvm;C:\Program Files\Java\jdk-17.0.5\bin;C:\Program Files\kotlinc\bin;C:\Program Files\Kubernetes;C:\Program Files\Docker\Docker\resources\bin;C:\Program Files\Kubernetes\Minikube;C:\Program Files\Ngrok;C:\Program Files\PostgreSQL\15\bin;C:\Program Files\GitHub CLI\;C:\Program Files\Go\bin;C:\Program Files\PuTTY\;C:\Program Files\dotnet\;C:\Users\yusif\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Users\yusif\AppData\Local\Microsoft\WindowsApps;C:\Users\yusif\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\yusif\AppData\Local\Programs\MiKTeX\miktex\bin\x64\;C:\Users\yusif\flutter\bin;C:\Program Files\MySQL\MySQL Server 8.0\bin\;C:\Users\yusif\AppData\Roaming\npm;C:\Users\yusif\AppData\Roaming\nvm;C:\Program Files\JetBrains\IntelliJ IDEA 2023.1\bin;C:\Users\yusif\go\bin;C:\Users\yusif\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Users\yusif\AppData\Local\Programs\oh-my-posh\bin]
[TRACE] 10:42:43.733 shell.go:Pwd() - 0s
[TRACE] 10:42:43.733 shell.go:Pwd() - 0s
[TRACE] 10:42:43.733 shell.go:Flags() - 0s
[DEBUG] 10:42:43.733 shell_windows.go:56 → C:\Users\yusif
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:Pwd() - 0s
[DEBUG] 10:42:43.733 shell_windows.go:56 → C:\Users\yusif
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[DEBUG] 10:42:43.733 segment.go:SetEnabled:512 → Segment: Shell
[DEBUG] 10:42:43.733 properties.go:GetKeyValueMap:46 → mapped_shell_names: map[]
[TRACE] 10:42:43.733 shell.go:Shell() - 0s
[TRACE] 10:42:43.733 shell.go:Flags() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[DEBUG] 10:42:43.733 shell.go:User:557 → yusif
[TRACE] 10:42:43.733 shell.go:User() - 0s
[DEBUG] 10:42:43.733 shell.go:Host:569 → DESKTOP-A0QKAFM
[TRACE] 10:42:43.733 shell.go:Host() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[DEBUG] 10:42:43.733 shell.go:Getenv:392 → NO DATA
[TRACE] 10:42:43.733 shell.go:Getenv(SHLVL) - 0s
[TRACE] 10:42:43.733 shell.go:TemplateCache() - 0s
[TRACE] 10:42:43.733 shell.go:TemplateCache() - 0s
[DEBUG] 10:42:43.733 segment.go:SetEnabled:512 → Segment: Path
[TRACE] 10:42:43.733 shell.go:Pwd() - 0s
[TRACE] 10:42:43.733 shell.go:Pwd() - 0s
[TRACE] 10:42:43.733 shell.go:Shell() - 0s
[DEBUG] 10:42:43.733 shell_windows.go:56 → C:\Users\yusif
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:Shell() - 0s
[TRACE] 10:42:43.733 shell.go:Flags() - 0s
[DEBUG] 10:42:43.733 segment.go:SetEnabled:512 → Segment: Git
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[DEBUG] 10:42:43.733 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 10:42:43.733 properties.go:GetString:28 → 
[DEBUG] 10:42:43.733 properties.go:GetString:28 → 
[DEBUG] 10:42:43.733 shell_windows.go:56 → C:\Users\yusif
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[DEBUG] 10:42:43.733 properties.go:GetString:28 → 
[DEBUG] 10:42:43.733 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 10:42:43.733 shell.go:PathSeparator() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:PathSeparator() - 0s
[TRACE] 10:42:43.733 shell.go:PathSeparator() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:PathSeparator() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:PathSeparator() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:GOOS() - 0s
[TRACE] 10:42:43.733 shell.go:PathSeparator() - 0s
[TRACE] 10:42:43.733 shell.go:Pwd() - 0s
[TRACE] 10:42:43.733 shell_windows.go:IsWsl() - 0s
[TRACE] 10:42:43.733 shell.go:StackCount() - 0s
[DEBUG] 10:42:43.736 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 10:42:43.736 win32_windows.go:isWriteable:303 → current user is member of S-1-5-32-544
[DEBUG] 10:42:43.736 win32_windows.go:isWriteable:311 ↓
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 10:42:43.736 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 10:42:43.736 shell_windows.go:DirIsWritable() - 3.0315ms
[TRACE] 10:42:43.736 shell.go:TemplateCache() - 0s
[DEBUG] 10:42:43.736 shell.go:CommandPath:608 → C:\Program Files\Git\cmd\git.exe
[TRACE] 10:42:43.736 shell.go:CommandPath(git.exe) - 3.0315ms
[TRACE] 10:42:43.736 shell.go:HasCommand(git.exe) - 3.0315ms
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[ERROR] 10:42:43.736 shell.go:HasParentFilePath:742 → CreateFile .git: The system cannot find the file specified.
[TRACE] 10:42:43.736 shell.go:HasParentFilePath(.git) - 0s
[DEBUG] 10:42:43.736 properties.go:GetBool:22 → fetch_bare_info: false
[DEBUG] 10:42:43.736 text.go:Render:70 → Rendering template:  {{ .FormattedMs }}⠀
[DEBUG] 10:42:43.736 text.go:Render:70 → Rendering template:  {{ .Name }}
[DEBUG] 10:42:43.736 text.go:Render:70 → Rendering template:  {{ .Path }}
[TRACE] 10:42:43.736 shell.go:TemplateCache() - 0s
[TRACE] 10:42:43.736 shell.go:Shell() - 0s
[TRACE] 10:42:43.736 shell.go:TemplateCache() - 0s
[TRACE] 10:42:43.736 shell.go:Shell() - 0s
[DEBUG] 10:42:43.736 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:42:43.736 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:42:43.736 text.go:Render:70 → Rendering template: powerline
[DEBUG] 10:42:43.736 text.go:Render:70 → Rendering template: powerline
[DEBUG] 10:42:43.736 text.go:Render:70 → Rendering template: diamond
[TRACE] 10:42:43.736 shell.go:Shell() - 0s
[TRACE] 10:42:43.736 shell.go:Shell() - 0s
[TRACE] 10:42:43.736 shell.go:Shell() - 0s
[TRACE] 10:42:43.736 shell.go:Shell() - 0s
[TRACE] 10:42:43.736 shell.go:Flags() - 0s
[TRACE] 10:42:43.736 shell.go:Flags() - 0s
[TRACE] 10:42:43.736 shell.go:Flags() - 0s
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[TRACE] 10:42:43.736 shell.go:GOOS() - 0s
[TRACE] 10:42:43.736 shell.go:Flags() - 0s
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[DEBUG] 10:42:43.736 segment.go:SetEnabled:512 → Segment: Time
[TRACE] 10:42:43.736 shell.go:GOOS() - 0s
[DEBUG] 10:42:43.736 segment.go:SetEnabled:512 → Segment: Go
[DEBUG] 10:42:43.736 segment.go:SetEnabled:512 → Segment: Ruby
[DEBUG] 10:42:43.736 properties.go:GetString:28 → _2,15:04
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[TRACE] 10:42:43.736 shell.go:TemplateCache() - 0s
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[TRACE] 10:42:43.736 shell.go:Flags() - 0s
[TRACE] 10:42:43.736 shell.go:GOOS() - 0s
[DEBUG] 10:42:43.736 properties.go:GetStringArray:52 → extensions: [*.rb Rakefile Gemfile]
[DEBUG] 10:42:43.736 properties.go:GetStringArray:52 → extensions: [*.go go.mod]
[DEBUG] 10:42:43.736 segment.go:SetEnabled:512 → Segment: Kubectl
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[DEBUG] 10:42:43.736 properties.go:GetStringArray:52 → folders: []
[DEBUG] 10:42:43.736 properties.go:GetStringArray:52 → folders: []
[DEBUG] 10:42:43.736 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[DEBUG] 10:42:43.736 properties.go:GetBool:22 → home_enabled: false
[TRACE] 10:42:43.736 shell.go:GOOS() - 0s
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[DEBUG] 10:42:43.736 segment.go:SetEnabled:512 → Segment: Os
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[TRACE] 10:42:43.736 shell.go:GOOS() - 0s
[TRACE] 10:42:43.736 shell.go:Flags() - 0s
[DEBUG] 10:42:43.736 properties.go:GetString:28 → 
[TRACE] 10:42:43.736 shell.go:TemplateCache() - 0s
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[TRACE] 10:42:43.736 shell.go:Flags() - 0s
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[TRACE] 10:42:43.736 shell.go:GOOS() - 0s
[TRACE] 10:42:43.736 shell.go:GOOS() - 0s
[DEBUG] 10:42:43.736 segment.go:SetEnabled:512 → Segment: Rust
[DEBUG] 10:42:43.736 segment.go:SetEnabled:512 → Segment: Node
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[DEBUG] 10:42:43.736 properties.go:GetStringArray:52 → extensions: [*.rs Cargo.toml Cargo.lock]
[DEBUG] 10:42:43.736 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .npmrc .vue]
[DEBUG] 10:42:43.736 properties.go:GetStringArray:52 → folders: []
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[DEBUG] 10:42:43.736 properties.go:GetBool:22 → home_enabled: false
[TRACE] 10:42:43.736 shell.go:GOOS() - 0s
[DEBUG] 10:42:43.736 properties.go:GetStringArray:52 → folders: []
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[DEBUG] 10:42:43.736 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 10:42:43.736 segment.go:SetEnabled:512 → Segment: Battery
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[TRACE] 10:42:43.736 shell.go:Flags() - 0s
[TRACE] 10:42:43.736 shell_windows.go:IsWsl() - 0s
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[TRACE] 10:42:43.736 shell.go:Flags() - 0s
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[TRACE] 10:42:43.736 shell.go:GOOS() - 0s
[DEBUG] 10:42:43.736 properties.go:GetString:28 → environment
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[DEBUG] 10:42:43.736 segment.go:SetEnabled:512 → Segment: Dart
[DEBUG] 10:42:43.736 properties.go:GetStringArray:52 → extensions: [*.dart pubspec.yaml pubspec.yml pubspec.lock]
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[DEBUG] 10:42:43.736 properties.go:GetStringArray:52 → folders: [.dart_tool]
[TRACE] 10:42:43.736 shell.go:GOOS() - 0s
[DEBUG] 10:42:43.736 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 10:42:43.736 segment.go:SetEnabled:512 → Segment: Python
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[DEBUG] 10:42:43.736 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[DEBUG] 10:42:43.736 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv venv-win pyenv-win]
[TRACE] 10:42:43.736 shell.go:Flags() - 0s
[DEBUG] 10:42:43.736 properties.go:GetBool:22 → home_enabled: false
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[TRACE] 10:42:43.736 shell.go:Flags() - 0s
[TRACE] 10:42:43.736 shell.go:GOOS() - 0s
[DEBUG] 10:42:43.736 segment.go:SetEnabled:512 → Segment: Angular
[DEBUG] 10:42:43.736 properties.go:GetStringArray:52 → extensions: [angular.json]
[DEBUG] 10:42:43.736 properties.go:GetStringArray:52 → folders: []
[DEBUG] 10:42:43.736 shell.go:Getenv:392 → C:\Program Files\Java\jdk-17.0.5
[DEBUG] 10:42:43.736 properties.go:GetBool:22 → home_enabled: false
[TRACE] 10:42:43.736 shell.go:Getenv(JAVA_HOME) - 0s
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[TRACE] 10:42:43.736 shell.go:Flags() - 0s
[TRACE] 10:42:43.736 shell.go:GOOS() - 0s
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[DEBUG] 10:42:43.736 segment.go:SetEnabled:512 → Segment: Java
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[TRACE] 10:42:43.736 shell.go:GOOS() - 0s
ngArray:52 → extensions: [pom.xml build.gradle.kts build.sbt .java-version .deps.edn project.clj build.boot *.java *.class *.gradle *.jar *.clj *.cljc]
[DEBUG] 10:42:43.736 properties.go:GetStringArray:52 → folders: []
[DEBUG] 10:42:43.736 segment.go:SetEnabled:512 → Segment: Nx
[DEBUG] 10:42:43.736 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 10:42:43.736 properties.go:GetStringArray:52 → extensions: [workspace.json nx.json]
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[DEBUG] 10:42:43.736 properties.go:GetStringArray:52 → folders: []
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[DEBUG] 10:42:43.736 properties.go:GetBool:22 → home_enabled: false
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[TRACE] 10:42:43.736 shell.go:Flags() - 0s
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[TRACE] 10:42:43.736 shell.go:Flags() - 0s
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[TRACE] 10:42:43.736 shell.go:GOOS() - 0s
[DEBUG] 10:42:43.736 segment.go:SetEnabled:512 → Segment: Dotnet
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[TRACE] 10:42:43.736 shell.go:GOOS() - 0s
[DEBUG] 10:42:43.736 properties.go:GetStringArray:52 → extensions: [*.cs *.csx *.vb *.sln *.slnf *.csproj *.vbproj *.fs *.fsx *.fsproj global.json]
[DEBUG] 10:42:43.736 segment.go:SetEnabled:512 → Segment: Julia
[DEBUG] 10:42:43.736 properties.go:GetStringArray:52 → folders: []
[DEBUG] 10:42:43.736 properties.go:GetStringArray:52 → extensions: [*.jl]
[DEBUG] 10:42:43.736 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 10:42:43.736 properties.go:GetStringArray:52 → folders: []
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[DEBUG] 10:42:43.736 properties.go:GetBool:22 → home_enabled: false
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[TRACE] 10:42:43.736 shell.go:Flags() - 0s
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[TRACE] 10:42:43.736 shell.go:Flags() - 0s
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[TRACE] 10:42:43.736 shell.go:GOOS() - 0s
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[DEBUG] 10:42:43.736 segment.go:SetEnabled:512 → Segment: Azfunc
[TRACE] 10:42:43.736 shell.go:GOOS() - 0s
[DEBUG] 10:42:43.736 properties.go:GetStringArray:52 → extensions: [host.json local.settings.json function.json]
[DEBUG] 10:42:43.736 segment.go:SetEnabled:512 → Segment: Aws
[DEBUG] 10:42:43.736 properties.go:GetStringArray:52 → folders: []
[DEBUG] 10:42:43.736 properties.go:GetBool:22 → display_default: true
[DEBUG] 10:42:43.736 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 10:42:43.736 shell.go:Getenv:392 → NO DATA
[TRACE] 10:42:43.736 shell.go:Getenv(AWS_VAULT) - 0s
[TRACE] 10:42:43.736 shell.go:Pwd() - 0s
[DEBUG] 10:42:43.736 shell.go:Getenv:392 → NO DATA
[TRACE] 10:42:43.736 shell.go:Getenv(AWS_DEFAULT_PROFILE) - 0s
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[DEBUG] 10:42:43.736 shell.go:Getenv:392 → NO DATA
[TRACE] 10:42:43.736 shell.go:Getenv(AWS_PROFILE) - 0s
[DEBUG] 10:42:43.736 shell.go:Getenv:392 → NO DATA
[TRACE] 10:42:43.736 shell.go:Getenv(AWS_REGION) - 0s
[DEBUG] 10:42:43.736 shell.go:Getenv:392 → NO DATA
[TRACE] 10:42:43.736 shell.go:Getenv(AWS_DEFAULT_REGION) - 0s
[DEBUG] 10:42:43.736 shell.go:Getenv:392 → NO DATA
[TRACE] 10:42:43.736 shell.go:Getenv(AWS_CONFIG_FILE) - 0s
[DEBUG] 10:42:43.736 shell_windows.go:56 → C:\Users\yusif
[ERROR] 10:42:43.741 shell.go:FileContent:527 → open C:\Users\yusif/.aws/config: The system cannot find the file specified.
[TRACE] 10:42:43.741 shell.go:FileContent(C:\Users\yusif/.aws/config) - 5.5314ms
[DEBUG] 10:42:43.752 shell.go:CommandPath:608 → C:\ProgramData\chocolatey\bin\kubectl.exe
[TRACE] 10:42:43.752 shell.go:CommandPath(kubectl) - 16.7042ms
[TRACE] 10:42:43.752 shell.go:HasCommand(kubectl) - 16.7042ms
[TRACE] 10:42:43.753 shell_windows_nix.go:BatteryState() - 17.7545ms
[DEBUG] 10:42:43.753 properties.go:GetString:28 → 
[TRACE] 10:42:43.753 shell.go:TemplateCache() - 0s
[DEBUG] 10:42:43.898 shell.go:RunCommand:587 ↓
    apiVersion: v1
    clusters:
    - cluster:
        certificate-authority: C:\Users\yusif\.minikube\ca.crt
        extensions:
        - extension:
            last-update: Tue, 06 Jun 2023 20:23:43 +04
            provider: minikube.sigs.k8s.io
            version: v1.30.1
          name: cluster_info
        server: https://127.0.0.1:14718
      name: minikube
    contexts:
    - context:
        cluster: minikube
        extensions:
        - extension:
            last-update: Tue, 06 Jun 2023 20:23:43 +04
            provider: minikube.sigs.k8s.io
            version: v1.30.1
          name: context_info
        namespace: default
        user: minikube
      name: minikube
    current-context: minikube
    kind: Config
    preferences: {}
    users:
    - name: minikube
      user:
        client-certificate: C:\Users\yusif\.minikube\profiles\minikube\client.crt
        client-key: C:\Users\yusif\.minikube\profiles\minikube\client.key
[TRACE] 10:42:43.898 shell.go:RunCommand(kubectl config view --output yaml --minify) - 145.7867ms
[DEBUG] 10:42:43.898 properties.go:GetBool:22 → display_error: false
[DEBUG] 10:42:43.898 properties.go:GetKeyValueMap:46 → context_aliases: map[]
[TRACE] 10:42:43.898 shell.go:TemplateCache() - 0s
[DEBUG] 10:42:43.898 text.go:Render:70 → Rendering template:   {{ .CurrentDate | date .Format }}
[DEBUG] 10:42:43.898 text.go:Render:70 → Rendering template:  {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }} <#262626></>
[DEBUG] 10:42:43.898 text.go:Render:70 → Rendering template:  {{ if .WSL }}WSL at {{ end }}{{.Icon}}<#222222> </>
[DEBUG] 10:42:43.899 text.go:Render:70 → Rendering template:  {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}
[TRACE] 10:42:43.899 shell.go:TemplateCache() - 0s
[TRACE] 10:42:43.899 shell.go:TemplateCache() - 0s
[TRACE] 10:42:43.899 shell.go:Shell() - 0s
[TRACE] 10:42:43.899 shell.go:Shell() - 0s
[TRACE] 10:42:43.899 shell.go:TemplateCache() - 0s
[TRACE] 10:42:43.899 shell.go:Shell() - 0s
[TRACE] 10:42:43.899 shell.go:TemplateCache() - 0s
[TRACE] 10:42:43.899 shell.go:Shell() - 0s
[DEBUG] 10:42:43.899 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:42:43.899 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:42:43.899 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:42:43.899 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:42:43.899 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:42:43.899 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:42:43.899 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:42:43.899 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:42:43.899 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:42:43.899 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:42:43.899 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:42:43.899 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:42:43.899 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:42:43.899 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:42:43.899 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:42:43.899 text.go:Render:70 → Rendering template: {{if eq "Charging" .State.String}}#b8e994{{end}}
[TRACE] 10:42:43.899 shell.go:TemplateCache() - 0s
[DEBUG] 10:42:43.899 text.go:Render:70 → Rendering template: {{if eq "Discharging" .State.String}}#fff34e{{end}}
[TRACE] 10:42:43.900 shell.go:TemplateCache() - 0s
[DEBUG] 10:42:43.900 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:42:43.900 text.go:Render:70 → Rendering template: diamond
[TRACE] 10:42:43.900 shell.go:Shell() - 0s
[DEBUG] 10:42:43.900 shell_windows.go:TerminalWidth:109 → terminal width: 158
[TRACE] 10:42:43.900 shell_windows.go:TerminalWidth() - 182.9µs
[TRACE] 10:42:43.901 shell.go:Shell() - 0s
[TRACE] 10:42:43.901 shell.go:Shell() - 0s
[TRACE] 10:42:43.901 shell.go:Shell() - 0s
[TRACE] 10:42:43.901 shell.go:Shell() - 0s
[TRACE] 10:42:43.901 shell.go:Flags() - 0s
[TRACE] 10:42:43.901 shell.go:Flags() - 0s
[DEBUG] 10:42:43.901 properties.go:GetString:28 → {{ .Code }}
[TRACE] 10:42:43.901 shell.go:Pwd() - 0s
[TRACE] 10:42:43.901 shell.go:Pwd() - 0s
[DEBUG] 10:42:43.901 shell_windows.go:56 → C:\Users\yusif
[TRACE] 10:42:43.901 shell.go:GOOS() - 0s
[DEBUG] 10:42:43.901 shell_windows.go:56 → C:\Users\yusif
[TRACE] 10:42:43.901 shell.go:GOOS() - 0s
[DEBUG] 10:42:43.901 segment.go:SetEnabled:512 → Segment: Text
[TRACE] 10:42:43.901 shell.go:TemplateCache() - 0s
[DEBUG] 10:42:43.901 segment.go:SetEnabled:512 → Segment: Status
[TRACE] 10:42:43.901 shell.go:StatusCodes() - 0s
[DEBUG] 10:42:43.901 text.go:Render:70 → Rendering template: {{ .Code }}
[TRACE] 10:42:43.901 shell.go:TemplateCache() - 0s
[DEBUG] 10:42:43.901 properties.go:GetBool:22 → always_enabled: true
[TRACE] 10:42:43.901 shell.go:TemplateCache() - 0s
[DEBUG] 10:42:43.901 text.go:Render:70 → Rendering template: 
[TRACE] 10:42:43.901 shell.go:Shell() - 0s
[DEBUG] 10:42:43.901 text.go:Render:70 → Rendering template: ╰─
[TRACE] 10:42:43.901 shell.go:Shell() - 0s
[DEBUG] 10:42:43.901 shell.go:Getenv:392 → NO DATA
[TRACE] 10:42:43.901 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 10:42:43.901 text.go:Render:70 → Rendering template: plain
[DEBUG] 10:42:43.901 text.go:Render:70 → Rendering template: {{ if gt .Code 0 }}#ef5350{{ end }}
[TRACE] 10:42:43.902 shell.go:TemplateCache() - 0s
[DEBUG] 10:42:43.902 text.go:Render:70 → Rendering template: plain
[TRACE] 10:42:43.902 shell.go:Shell() - 0s
[TRACE] 10:42:43.902 shell.go:Shell() - 0s
[TRACE] 10:42:43.902 shell.go:Shell() - 0s
[TRACE] 10:42:43.902 shell.go:Shell() - 0s
[DEBUG] 10:42:43.902 shell.go:Getenv:392 → C:\Users\yusif\AppData\Local
[TRACE] 10:42:43.902 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 10:42:43.902 shell_windows.go:CachePath() - 0s
[TRACE] 10:42:43.902 shell.go:Flags() - 0s
JanDeDobbeleer commented 1 year ago

@solo-driven yes, this is by design. Set home_enabled to true for the python segment as per the docs.

github-actions[bot] commented 6 months ago

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.