JanDeDobbeleer / oh-my-posh

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

Conda environment doesn't show up #4572

Closed linuspauling1 closed 8 months ago

linuspauling1 commented 8 months ago

Code of Conduct

What happened?

When using powershell 7 with oh-my-posh I cannot see the prompt for the current active conda environment. It is very peculiar since this happens only when I dive into my home directory, therefore, when I change the directory to, for instance, C:\ I can see the current active conda environment prompted. Also, this happens only when using powershell 7 along with oh-my-posh, thus, when I disable oh-my-posh in my powershell 7 it doesn't happen anymore.

Theme

atomic

What OS are you seeing the problem on?

No response

Which shell are you using?

No response

Log output

Version: 19.3.0

Shell: pwsh (7.4.0)

Prompt:

╭─ pwsh    0ms⠀                                                             100    1,10:22 
╰─

Segments:

ConsoleTitle(false)                        -   0 ms
Shell(true)                                -   2 ms
Root(false)                                -   1 ms
Path(true)                                 -   1 ms
Git(false)                                 -   5 ms
Executiontime(true)                        -   2 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)                                 -   0 ms
Kubectl(false)                             -   5 ms
Os(true)                                   -   0 ms
Battery(true)                              -  87 ms
Time(true)                                 -   0 ms
Text(true)                                 -   0 ms
Status(true)                               -   1 ms

Run duration: 103.0814ms

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

Config path: C:\Users\paulb\Documents\PowerShell\atomic.omp.json

Logs:

[DEBUG] 10:22:54.782 shell.go:Getenv:399 → NO DATA
[TRACE] 10:22:54.782 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 10:22:54.782 shell.go:Getenv:399 → C:\Users\paulb\AppData\Local
[TRACE] 10:22:54.783 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 10:22:54.783 shell_windows.go:CachePath() - 640.7µs
[DEBUG] 10:22:54.783 shell.go:Getenv:399 → C:\Users\paulb\Documents\PowerShell\atomic.omp.json
[TRACE] 10:22:54.783 shell.go:Getenv(POSH_THEME) - 583.3µs
[DEBUG] 10:22:54.783 shell.go:Shell:662 → no shell name provided in flags, trying to detect it
[DEBUG] 10:22:54.787 shell.go:Shell:670 → process name: pwsh.exe
[TRACE] 10:22:54.787 shell.go:Shell() - 3.4981ms
[TRACE] 10:22:54.787 shell.go:resolveConfigPath() - 4.0814ms
[TRACE] 10:22:54.787 shell.go:Init() - 4.7221ms
[TRACE] 10:22:54.787 shell.go:Flags() - 0s
[TRACE] 10:22:54.788 config.go:loadConfig() - 1.2159ms
[TRACE] 10:22:54.788 shell.go:Flags() - 0s
[DEBUG] 10:22:54.788 shell.go:Getenv:399 → NO DATA
[TRACE] 10:22:54.788 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 10:22:54.788 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 10:22:54.788 shell.go:GOOS() - 0s
[TRACE] 10:22:54.788 shell.go:GOOS() - 0s
[TRACE] 10:22:54.788 shell.go:GOOS() - 0s
[TRACE] 10:22:54.788 shell.go:GOOS() - 0s
[TRACE] 10:22:54.788 shell.go:GOOS() - 0s
[TRACE] 10:22:54.788 shell.go:GOOS() - 0s
[TRACE] 10:22:54.788 shell.go:GOOS() - 0s
[TRACE] 10:22:54.788 shell.go:GOOS() - 0s
[TRACE] 10:22:54.788 shell.go:GOOS() - 0s
[TRACE] 10:22:54.788 shell.go:GOOS() - 0s
[TRACE] 10:22:54.788 shell.go:GOOS() - 0s
[TRACE] 10:22:54.788 shell.go:GOOS() - 0s
[TRACE] 10:22:54.788 shell.go:GOOS() - 0s
[TRACE] 10:22:54.788 shell.go:GOOS() - 0s
[TRACE] 10:22:54.788 shell.go:GOOS() - 0s
[TRACE] 10:22:54.788 shell.go:GOOS() - 0s
[TRACE] 10:22:54.788 shell.go:GOOS() - 0s
[TRACE] 10:22:54.788 shell.go:GOOS() - 0s
[TRACE] 10:22:54.788 shell.go:GOOS() - 0s
[DEBUG] 10:22:54.788 shell_windows.go:WindowsRegistryKeyValue:215 → ColorizationColor(DWORD): 0xC49A0089
[TRACE] 10:22:54.788 shell.go:Shell() - 0s
[DEBUG] 10:22:54.788 shell.go:Getenv:399 → 7.4.0
[TRACE] 10:22:54.788 shell.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 10:22:54.788 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 10:22:54.788 text.go:Render:70 → Rendering template:
[DEBUG] 10:22:54.788 shell.go:Getenv:399 → 15
[TRACE] 10:22:54.788 shell.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 10:22:54.788 shell.go:Getenv:399 → 1
[TRACE] 10:22:54.788 shell.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 10:22:54.788 shell.go:Flags() - 0s
[TRACE] 10:22:54.788 shell.go:Flags() - 0s
[TRACE] 10:22:54.788 shell.go:Shell() - 0s
[TRACE] 10:22:54.788 shell.go:Shell() - 0s
[TRACE] 10:22:54.788 shell.go:Flags() - 0s
[TRACE] 10:22:54.788 shell.go:GOOS() - 0s
[TRACE] 10:22:54.788 shell.go:Flags() - 0s
[TRACE] 10:22:54.788 shell.go:Flags() - 0s
[TRACE] 10:22:54.788 shell.go:Flags() - 0s
[TRACE] 10:22:54.789 shell.go:Flags() - 0s
[DEBUG] 10:22:54.789 shell.go:Pwd:429 → C:\Users\paulb
[TRACE] 10:22:54.789 shell.go:Pwd() - 1.3809ms
[DEBUG] 10:22:54.789 shell_windows.go:56 → C:\Users\paulb
[TRACE] 10:22:54.789 shell.go:GOOS() - 0s
[DEBUG] 10:22:54.789 segment.go:SetEnabled:512 → Segment: Executiontime
[DEBUG] 10:22:54.789 properties.go:GetBool:22 → always_enabled: false
[TRACE] 10:22:54.789 shell.go:ExecutionTime() - 0s
[DEBUG] 10:22:54.789 properties.go:GetFloat64:34 → threshold: 0.000000
[DEBUG] 10:22:54.789 properties.go:GetString:28 → roundrock
[TRACE] 10:22:54.789 shell.go:Pwd() - 0s
[DEBUG] 10:22:54.789 shell_windows.go:56 → C:\Users\paulb
[TRACE] 10:22:54.789 shell.go:GOOS() - 0s
[DEBUG] 10:22:54.789 segment.go:SetEnabled:512 → Segment: Root
[TRACE] 10:22:54.789 shell_windows.go:Root() - 0s
[TRACE] 10:22:54.789 shell.go:Shell() - 0s
[TRACE] 10:22:54.789 shell.go:StatusCodes() - 0s
[TRACE] 10:22:54.789 shell_windows.go:IsWsl() - 0s
[TRACE] 10:22:54.789 shell.go:Pwd() - 0s
[TRACE] 10:22:54.789 shell.go:Pwd() - 0s
[TRACE] 10:22:54.789 shell_windows.go:Root() - 0s
[DEBUG] 10:22:54.790 shell_windows.go:56 → C:\Users\paulb
[DEBUG] 10:22:54.790 segment.go:SetEnabled:512 → Segment: Path
[TRACE] 10:22:54.790 shell.go:GOOS() - 0s
[TRACE] 10:22:54.790 shell.go:Pwd() - 0s
[TRACE] 10:22:54.790 shell.go:Pwd() - 0s
[TRACE] 10:22:54.790 shell.go:Shell() - 0s
[TRACE] 10:22:54.790 shell.go:Flags() - 0s
[DEBUG] 10:22:54.790 segment.go:SetEnabled:512 → Segment: Shell
[DEBUG] 10:22:54.790 shell_windows.go:56 → C:\Users\paulb
[TRACE] 10:22:54.790 shell.go:GOOS() - 0s
[DEBUG] 10:22:54.790 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 10:22:54.790 properties.go:GetKeyValueMap:46 → mapped_shell_names: map[]
[DEBUG] 10:22:54.790 properties.go:GetString:28 → 
[DEBUG] 10:22:54.790 properties.go:GetString:28 → 
[DEBUG] 10:22:54.790 shell_windows.go:56 → C:\Users\paulb
[TRACE] 10:22:54.790 shell.go:GOOS() - 0s
[TRACE] 10:22:54.790 shell.go:Shell() - 0s
[TRACE] 10:22:54.790 shell.go:GOOS() - 0s
[TRACE] 10:22:54.790 shell.go:GOOS() - 0s
[TRACE] 10:22:54.790 shell.go:Flags() - 0s
[DEBUG] 10:22:54.790 properties.go:GetString:28 → 
[DEBUG] 10:22:54.790 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 10:22:54.790 shell.go:PathSeparator() - 0s
[TRACE] 10:22:54.790 shell.go:GOOS() - 0s
[TRACE] 10:22:54.790 shell.go:GOOS() - 0s
[TRACE] 10:22:54.790 shell.go:Pwd() - 0s
[DEBUG] 10:22:54.790 shell_windows.go:56 → C:\Users\paulb
[TRACE] 10:22:54.790 shell.go:GOOS() - 0s
[TRACE] 10:22:54.790 shell.go:GOOS() - 0s
[TRACE] 10:22:54.790 shell.go:GOOS() - 0s
[TRACE] 10:22:54.790 shell.go:GOOS() - 0s
[TRACE] 10:22:54.790 shell.go:GOOS() - 0s
[TRACE] 10:22:54.790 shell.go:GOOS() - 0s
[TRACE] 10:22:54.790 shell.go:GOOS() - 0s
[TRACE] 10:22:54.790 shell.go:GOOS() - 0s
[DEBUG] 10:22:54.790 shell.go:User:564 → paulb
[TRACE] 10:22:54.790 shell.go:User() - 0s
[TRACE] 10:22:54.790 shell.go:GOOS() - 0s
[TRACE] 10:22:54.790 shell.go:GOOS() - 0s
[TRACE] 10:22:54.790 shell.go:GOOS() - 0s
[DEBUG] 10:22:54.790 shell.go:Host:576 → DeepBlue
[TRACE] 10:22:54.790 shell.go:GOOS() - 0s
[TRACE] 10:22:54.790 shell.go:Host() - 0s
[TRACE] 10:22:54.790 shell.go:GOOS() - 0s
[DEBUG] 10:22:54.790 shell.go:Getenv:399 → NO DATA
[TRACE] 10:22:54.790 shell.go:Getenv(SHLVL) - 0s
[TRACE] 10:22:54.790 shell.go:TemplateCache() - 551.9µs
[TRACE] 10:22:54.790 shell.go:TemplateCache() - 0s
[TRACE] 10:22:54.791 shell.go:GOOS() - 0s
[TRACE] 10:22:54.791 shell.go:PathSeparator() - 0s
[TRACE] 10:22:54.791 shell.go:PathSeparator() - 0s
[TRACE] 10:22:54.791 shell.go:GOOS() - 0s
[TRACE] 10:22:54.791 shell.go:GOOS() - 0s
[TRACE] 10:22:54.791 shell.go:GOOS() - 0s
[TRACE] 10:22:54.791 shell.go:PathSeparator() - 0s
[TRACE] 10:22:54.791 shell.go:GOOS() - 0s
[TRACE] 10:22:54.791 shell.go:GOOS() - 0s
[TRACE] 10:22:54.791 shell.go:GOOS() - 0s
[TRACE] 10:22:54.791 shell.go:PathSeparator() - 0s
[TRACE] 10:22:54.791 shell.go:GOOS() - 0s
[TRACE] 10:22:54.791 shell.go:GOOS() - 0s
[TRACE] 10:22:54.791 shell.go:GOOS() - 0s
[TRACE] 10:22:54.791 shell.go:PathSeparator() - 0s
[TRACE] 10:22:54.791 shell.go:Pwd() - 0s
[TRACE] 10:22:54.791 shell_windows.go:IsWsl() - 0s
[TRACE] 10:22:54.791 shell.go:StackCount() - 0s
[DEBUG] 10:22:54.791 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 10:22:54.791 win32_windows.go:isWriteable:303 → current user is member of S-1-5-32-544
[DEBUG] 10:22:54.791 win32_windows.go:isWriteable:311 ↓
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 10:22:54.791 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 10:22:54.791 shell_windows.go:DirIsWritable() - 556µs
[TRACE] 10:22:54.791 shell.go:TemplateCache() - 0s
[DEBUG] 10:22:54.793 shell.go:CommandPath:615 → C:\Program Files\Git\cmd\git.exe
[TRACE] 10:22:54.793 shell.go:CommandPath(git.exe) - 3.5311ms
[TRACE] 10:22:54.793 shell.go:HasCommand(git.exe) - 3.5311ms
[TRACE] 10:22:54.793 shell.go:Pwd() - 0s
[ERROR] 10:22:54.793 shell.go:HasParentFilePath:758 → CreateFile .git: The system cannot find the file specified.
[TRACE] 10:22:54.793 shell.go:HasParentFilePath(.git) - 0s
[DEBUG] 10:22:54.793 properties.go:GetBool:22 → fetch_bare_info: false
[DEBUG] 10:22:54.793 text.go:Render:70 → Rendering template:  {{ .FormattedMs }}⠀
[DEBUG] 10:22:54.794 text.go:Render:70 → Rendering template:  {{ .Name }}
[DEBUG] 10:22:54.794 text.go:Render:70 → Rendering template:  {{ .Path }}
[TRACE] 10:22:54.794 shell.go:TemplateCache() - 0s
[TRACE] 10:22:54.794 shell.go:Shell() - 0s
[TRACE] 10:22:54.794 shell.go:TemplateCache() - 0s
[TRACE] 10:22:54.794 shell.go:Shell() - 0s
[TRACE] 10:22:54.794 shell.go:TemplateCache() - 0s
[TRACE] 10:22:54.794 shell.go:Shell() - 0s
[DEBUG] 10:22:54.794 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:22:54.795 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:22:54.795 text.go:Render:70 → Rendering template: powerline
[DEBUG] 10:22:54.795 text.go:Render:70 → Rendering template: powerline
[DEBUG] 10:22:54.795 text.go:Render:70 → Rendering template: diamond
[TRACE] 10:22:54.795 shell.go:Shell() - 0s
[TRACE] 10:22:54.795 shell.go:Shell() - 0s
[TRACE] 10:22:54.795 shell.go:Shell() - 0s
[TRACE] 10:22:54.795 shell.go:Flags() - 0s
[TRACE] 10:22:54.795 shell.go:Flags() - 0s
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[TRACE] 10:22:54.795 shell.go:Flags() - 0s
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[TRACE] 10:22:54.795 shell.go:GOOS() - 0s
[DEBUG] 10:22:54.795 segment.go:SetEnabled:512 → Segment: Angular
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[DEBUG] 10:22:54.795 shell.go:Getenv:399 → NO DATA
[DEBUG] 10:22:54.795 properties.go:GetStringArray:52 → extensions: [angular.json]
[DEBUG] 10:22:54.795 properties.go:GetStringArray:52 → folders: []
[TRACE] 10:22:54.795 shell.go:Flags() - 0s
[DEBUG] 10:22:54.795 properties.go:GetBool:22 → home_enabled: false
[TRACE] 10:22:54.795 shell.go:Getenv(JAVA_HOME) - 0s
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[TRACE] 10:22:54.795 shell.go:GOOS() - 0s
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[TRACE] 10:22:54.795 shell.go:Flags() - 0s
[DEBUG] 10:22:54.795 segment.go:SetEnabled:512 → Segment: Time
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[TRACE] 10:22:54.795 shell.go:GOOS() - 0s
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[DEBUG] 10:22:54.795 segment.go:SetEnabled:512 → Segment: Dotnet
[TRACE] 10:22:54.795 shell.go:GOOS() - 0s
[DEBUG] 10:22:54.795 properties.go:GetStringArray:52 → extensions: [*.cs *.csx *.vb *.sln *.slnf *.csproj *.vbproj *.fs *.fsx *.fsproj global.json]
[DEBUG] 10:22:54.795 properties.go:GetStringArray:52 → folders: []
[DEBUG] 10:22:54.795 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 10:22:54.795 segment.go:SetEnabled:512 → Segment: Java
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[TRACE] 10:22:54.795 shell.go:GOOS() - 0s
[TRACE] 10:22:54.795 shell.go:Flags() - 0s
[DEBUG] 10:22:54.795 properties.go:GetString:28 → _2,15:04
[DEBUG] 10:22:54.795 segment.go:SetEnabled:512 → Segment: Azfunc
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[TRACE] 10:22:54.795 shell.go:TemplateCache() - 0s
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[TRACE] 10:22:54.795 shell.go:GOOS() - 0s
[DEBUG] 10:22:54.795 properties.go:GetStringArray: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:22:54.795 properties.go:GetStringArray:52 → extensions: [host.json local.settings.json function.json]
[TRACE] 10:22:54.795 shell.go:Flags() - 0s
[DEBUG] 10:22:54.795 properties.go:GetStringArray:52 → extensions: [*.go go.mod]
[DEBUG] 10:22:54.795 properties.go:GetStringArray:52 → folders: []
[TRACE] 10:22:54.795 shell.go:Flags() - 0s
[DEBUG] 10:22:54.795 properties.go:GetStringArray:52 → folders: []
[DEBUG] 10:22:54.795 properties.go:GetStringArray:52 → folders: []
[DEBUG] 10:22:54.795 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 10:22:54.795 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 10:22:54.795 properties.go:GetBool:22 → home_enabled: false
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[TRACE] 10:22:54.795 shell.go:Flags() - 0s
[TRACE] 10:22:54.795 shell.go:Flags() - 0s
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[TRACE] 10:22:54.795 shell.go:Flags() - 0s
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[TRACE] 10:22:54.795 shell.go:GOOS() - 0s
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[DEBUG] 10:22:54.795 segment.go:SetEnabled:512 → Segment: Julia
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[TRACE] 10:22:54.795 shell.go:GOOS() - 0s
[TRACE] 10:22:54.795 shell.go:GOOS() - 0s
[DEBUG] 10:22:54.795 properties.go:GetStringArray:52 → extensions: [*.jl]
[DEBUG] 10:22:54.795 segment.go:SetEnabled:512 → Segment: Kubectl
[DEBUG] 10:22:54.795 properties.go:GetStringArray:52 → folders: []
[DEBUG] 10:22:54.795 segment.go:SetEnabled:512 → Segment: Ruby
[DEBUG] 10:22:54.795 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 10:22:54.795 properties.go:GetBool:22 → parse_kubeconfig: false
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[DEBUG] 10:22:54.795 properties.go:GetStringArray:52 → extensions: [*.rb Rakefile Gemfile]
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[DEBUG] 10:22:54.795 properties.go:GetStringArray:52 → folders: []
[DEBUG] 10:22:54.795 properties.go:GetBool:22 → home_enabled: false
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[TRACE] 10:22:54.795 shell.go:GOOS() - 0s
[DEBUG] 10:22:54.795 segment.go:SetEnabled:512 → Segment: Aws
[DEBUG] 10:22:54.795 properties.go:GetBool:22 → display_default: true
[DEBUG] 10:22:54.795 shell.go:Getenv:399 → NO DATA
[TRACE] 10:22:54.795 shell.go:Getenv(AWS_VAULT) - 0s
[DEBUG] 10:22:54.795 shell.go:Getenv:399 → NO DATA
[TRACE] 10:22:54.795 shell.go:Getenv(AWS_DEFAULT_PROFILE) - 0s
[DEBUG] 10:22:54.795 shell.go:Getenv:399 → NO DATA
[TRACE] 10:22:54.795 shell.go:Getenv(AWS_PROFILE) - 0s
[DEBUG] 10:22:54.795 shell.go:Getenv:399 → NO DATA
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[TRACE] 10:22:54.795 shell.go:Getenv(AWS_REGION) - 0s
[DEBUG] 10:22:54.795 shell.go:Getenv:399 → NO DATA
[TRACE] 10:22:54.795 shell.go:Getenv(AWS_DEFAULT_REGION) - 0s
[DEBUG] 10:22:54.795 shell.go:Getenv:399 → NO DATA
[TRACE] 10:22:54.795 shell.go:Getenv(AWS_CONFIG_FILE) - 0s
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[DEBUG] 10:22:54.795 segment.go:SetEnabled:512 → Segment: Nx
[DEBUG] 10:22:54.795 properties.go:GetStringArray:52 → extensions: [workspace.json nx.json]
[DEBUG] 10:22:54.795 properties.go:GetStringArray:52 → folders: []
[DEBUG] 10:22:54.795 properties.go:GetBool:22 → home_enabled: false
[ERROR] 10:22:54.795 shell.go:FileContent:534 → open C:\Users\paulb/.aws/config: The system cannot find the path specified.
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[TRACE] 10:22:54.795 shell.go:FileContent(C:\Users\paulb/.aws/config) - 0s
[TRACE] 10:22:54.795 shell.go:Flags() - 0s
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[TRACE] 10:22:54.795 shell.go:Flags() - 0s
[TRACE] 10:22:54.795 shell.go:Flags() - 0s
[TRACE] 10:22:54.795 shell.go:Flags() - 0s
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[TRACE] 10:22:54.795 shell.go:GOOS() - 0s
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[DEBUG] 10:22:54.795 properties.go:GetStringArray:52 → folders: [.dart_tool]
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[DEBUG] 10:22:54.795 properties.go:GetBool:22 → home_enabled: false
[TRACE] 10:22:54.795 shell.go:GOOS() - 0s
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[TRACE] 10:22:54.795 shell.go:Pwd() - 0s
[DEBUG] 10:22:54.795 segment.go:SetEnabled:512 → Segment: Node
[TRACE] 10:22:54.795 shell.go:GOOS() - 0s
[DEBUG] 10:22:54.795 shell_windows.go:56 → C:\Users\paulb
[TRACE] 10:22:54.795 shell.go:GOOS() - 0s
[DEBUG] 10:22:54.795 segment.go:SetEnabled:512 → Segment: Python
[DEBUG] 10:22:54.795 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .npmrc .vue]
[DEBUG] 10:22:54.795 segment.go:SetEnabled:512 → Segment: Battery
[DEBUG] 10:22:54.795 properties.go:GetStringArray:52 → folders: []
[TRACE] 10:22:54.795 shell_windows.go:IsWsl() - 0s
[DEBUG] 10:22:54.795 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[DEBUG] 10:22:54.795 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 10:22:54.796 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv venv-win pyenv-win]
[TRACE] 10:22:54.796 shell.go:Pwd() - 0s
[DEBUG] 10:22:54.796 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 10:22:54.796 shell_windows.go:56 → C:\Users\paulb
[TRACE] 10:22:54.796 shell.go:Pwd() - 0s
[DEBUG] 10:22:54.796 shell_windows.go:56 → C:\Users\paulb
[TRACE] 10:22:54.796 shell.go:Pwd() - 0s
[DEBUG] 10:22:54.796 shell_windows.go:56 → C:\Users\paulb
[TRACE] 10:22:54.796 shell.go:GOOS() - 0s
[DEBUG] 10:22:54.796 segment.go:SetEnabled:512 → Segment: Os
[TRACE] 10:22:54.796 shell.go:GOOS() - 0s
[DEBUG] 10:22:54.796 properties.go:GetString:28 → 
[TRACE] 10:22:54.796 shell.go:TemplateCache() - 0s
[ERROR] 10:22:54.801 shell.go:CommandPath:618 → exec: "kubectl": executable file not found in %PATH%
[TRACE] 10:22:54.801 shell.go:CommandPath(kubectl) - 5.3984ms
[TRACE] 10:22:54.801 shell.go:HasCommand(kubectl) - 5.3984ms
[TRACE] 10:22:54.882 shell_windows_nix.go:BatteryState() - 87.1739ms
[DEBUG] 10:22:54.883 properties.go:GetString:28 → 
[TRACE] 10:22:54.883 shell.go:TemplateCache() - 0s
[DEBUG] 10:22:54.883 text.go:Render:70 → Rendering template:   {{ .CurrentDate | date .Format }}
[DEBUG] 10:22:54.883 text.go:Render:70 → Rendering template:  {{ if .WSL }}WSL at {{ end }}{{.Icon}}<#222222> </>
[DEBUG] 10:22:54.883 text.go:Render:70 → Rendering template:  {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }} <#262626></>
[TRACE] 10:22:54.883 shell.go:TemplateCache() - 0s
[TRACE] 10:22:54.883 shell.go:Shell() - 0s
[TRACE] 10:22:54.883 shell.go:TemplateCache() - 0s
[TRACE] 10:22:54.883 shell.go:Shell() - 0s
[TRACE] 10:22:54.883 shell.go:TemplateCache() - 0s
[TRACE] 10:22:54.883 shell.go:Shell() - 0s
[DEBUG] 10:22:54.883 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:22:54.883 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:22:54.883 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:22:54.883 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:22:54.883 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:22:54.883 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:22:54.883 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:22:54.883 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:22:54.883 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:22:54.883 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:22:54.883 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:22:54.883 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:22:54.883 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:22:54.883 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:22:54.883 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:22:54.883 text.go:Render:70 → Rendering template: {{if eq "Charging" .State.String}}#b8e994{{end}}
[TRACE] 10:22:54.883 shell.go:TemplateCache() - 0s
[DEBUG] 10:22:54.883 text.go:Render:70 → Rendering template: {{if eq "Discharging" .State.String}}#fff34e{{end}}
[TRACE] 10:22:54.883 shell.go:TemplateCache() - 0s
[DEBUG] 10:22:54.883 text.go:Render:70 → Rendering template: {{if eq "Full" .State.String}}#33DD2D{{end}}
[TRACE] 10:22:54.884 shell.go:TemplateCache() - 0s
[DEBUG] 10:22:54.884 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:22:54.884 text.go:Render:70 → Rendering template: diamond
[TRACE] 10:22:54.884 shell.go:Shell() - 0s
[DEBUG] 10:22:54.884 shell_windows.go:TerminalWidth:109 → terminal width: 110
[TRACE] 10:22:54.884 shell_windows.go:TerminalWidth() - 0s
[TRACE] 10:22:54.884 shell.go:Shell() - 0s
[TRACE] 10:22:54.884 shell.go:Shell() - 0s
[TRACE] 10:22:54.884 shell.go:Shell() - 0s
[TRACE] 10:22:54.884 shell.go:Flags() - 0s
[DEBUG] 10:22:54.884 properties.go:GetString:28 → {{ .Code }}
[TRACE] 10:22:54.884 shell.go:Pwd() - 0s
[TRACE] 10:22:54.884 shell.go:Flags() - 0s
[TRACE] 10:22:54.884 shell.go:Pwd() - 0s
[TRACE] 10:22:54.884 shell.go:GOOS() - 0s
[DEBUG] 10:22:54.884 segment.go:SetEnabled:512 → Segment: Status
[DEBUG] 10:22:54.884 shell_windows.go:56 → C:\Users\paulb
[TRACE] 10:22:54.884 shell.go:StatusCodes() - 0s
[TRACE] 10:22:54.884 shell.go:GOOS() - 0s
[DEBUG] 10:22:54.884 text.go:Render:70 → Rendering template: {{ .Code }}
[DEBUG] 10:22:54.884 segment.go:SetEnabled:512 → Segment: Text
[TRACE] 10:22:54.884 shell.go:TemplateCache() - 0s
[TRACE] 10:22:54.885 shell.go:TemplateCache() - 0s
[DEBUG] 10:22:54.885 properties.go:GetBool:22 → always_enabled: true
[TRACE] 10:22:54.885 shell.go:TemplateCache() - 0s
[DEBUG] 10:22:54.885 text.go:Render:70 → Rendering template: 
[DEBUG] 10:22:54.885 text.go:Render:70 → Rendering template: ╰─
[TRACE] 10:22:54.885 shell.go:Shell() - 0s
[TRACE] 10:22:54.885 shell.go:Shell() - 0s
[DEBUG] 10:22:54.885 shell.go:Getenv:399 → NO DATA
[TRACE] 10:22:54.885 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 10:22:54.885 text.go:Render:70 → Rendering template: plain
[DEBUG] 10:22:54.885 text.go:Render:70 → Rendering template: {{ if gt .Code 0 }}#ef5350{{ end }}
[TRACE] 10:22:54.885 shell.go:TemplateCache() - 0s
[DEBUG] 10:22:54.885 text.go:Render:70 → Rendering template: plain
[TRACE] 10:22:54.885 shell.go:Shell() - 0s
[TRACE] 10:22:54.885 shell.go:Shell() - 0s
[TRACE] 10:22:54.885 shell.go:Shell() - 0s
[DEBUG] 10:22:54.885 shell.go:Getenv:399 → C:\Users\paulb\AppData\Local
[TRACE] 10:22:54.885 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 10:22:54.886 shell_windows.go:CachePath() - 515.6µs
[TRACE] 10:22:54.886 shell.go:Flags() - 0s
JanDeDobbeleer commented 8 months ago

@linuspauling1 the python segment is disabled in the home folder by default. You can enable it using home_enabled in the segment's properties.

linuspauling1 commented 8 months ago

Thank you for your answer. Could you also detail me, please, what am I supposed to change? Is it the atomic.omp.json?

linuspauling1 commented 8 months ago

I managed to change the atomic.omp.json in order to add the home_enabled property and now it works.

github-actions[bot] commented 4 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.