Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oh-my-posh not working on PWSH 7.4.4 #5348

Closed
1 task done
wrecklass opened this issue Jul 25, 2024 · 6 comments
Closed
1 task done

oh-my-posh not working on PWSH 7.4.4 #5348

wrecklass opened this issue Jul 25, 2024 · 6 comments
Assignees
Labels
🐛 bug Something isn't working

Comments

@wrecklass
Copy link

Code of Conduct

  • I agree to follow this project's Code of Conduct

What happened?

oh-my-posh prompt is no longer displayed on Powershell 7.4.4. I believe it was still working on 7.4.3, but it's possible the problem is older than 7.4.2.

Here is the PowerShell startup screen:

PowerShell 7.4.4

✅ no new version available

Loading personal and system profiles took 1939ms.
PS> dir $env:POSH_THEME

    Directory: C:\cygwin64\home\smartin\src\dotfiles

Mode LastWriteTime Length Name


-a--- 7/7/2024 2:13 PM 16611  config.omp.json

PS>

What do you expect?
I expect to see the formatted oh-my-posh prompt instead of 'PS> ' prompt. Which I believe is just the PowerShell default Prompt.

I can test and see the correct prompt with the command:
PS> oh-my-posh.exe prompt print primary
╭─ 󰕰   ENTERPRISE   󰔟0ms⠀ 󱆃 pwsh 󰍛 21%  󰥔 14:37:42
╰─

Theme

Any theme does not work.

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

PS> oh-my-posh.exe debug --plain
Print the prompt in debug mode.

Usage:
  oh-my-posh prompt debug [bash|zsh|fish|powershell|pwsh|cmd|nu|tcsh|elvish|xonsh] [flags]

Flags:
  -h, --help           help for debug
  -p, --plain          plain text output (no ANSI)
      --pwd string     current working directory
      --shell string   the shell to print for

Global Flags:
  -c, --config string   config file path

Apparently you must mean: oh-my-posh prompt debug pwsh --plain


Version: 22.3.0

Shell: pwsh (7.4.4)

Prompt:

╭─ 󰕰   ENTERPRISE   󰔟0ms⠀                                                              󱆃 pwsh 󰍛 21%  󰥔 14:33:10
╰─

Segments:

ConsoleTitle(true)                         -   1 ms
Os(true)                                   -   0 ms
Connection(true)                           -   3 ms
Session(true)                              -   0 ms
Path(true)                                 -   0 ms
Executiontime(true)                        -   0 ms
Shell(true)                                -   0 ms
Sysinfo(true)                              -   0 ms
Time(true)                                 -   0 ms
Text(true)                                 -   0 ms
Status(true)                               -   0 ms

Run duration: 103.4036ms

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

Config path: C:\cygwin64\home\smartin\src\dotfiles\config.omp.json

Logs:

[DEBUG] 14:33:10.893 debug.go:42 → debug mode enabled
[DEBUG] 14:33:10.893 debug.go:42 → dlain mode enabled
[DEBUG] 14:33:10.894 os.go:Getenv:333 → C:\Users\smartin\AppData\Local
[TRACE] 14:33:10.894 os.go:Getenv(LOCALAPPDATA) - 519.1µs
[TRACE] 14:33:10.894 os_windows.go:CachePath() - 519.1µs
[DEBUG] 14:33:10.894 os.go:238 → loading cache file: C:\Users\smartin\AppData\Local\oh-my-posh\omp.cache
[DEBUG] 14:33:10.894 os.go:238 → loading cache key: template_cache_5432
[DEBUG] 14:33:10.894 os.go:238 → loading cache key: template_cache_6295
[DEBUG] 14:33:10.894 os.go:238 → loading cache key: upgrade_check
[DEBUG] 14:33:10.894 os.go:238 → loading cache key: upgrade_segment
[DEBUG] 14:33:10.894 os.go:238 → loading cache key: prompt_count_cache_2912
[DEBUG] 14:33:10.894 os.go:238 → loading cache key: prompt_count_cache_2954
[DEBUG] 14:33:10.894 os.go:238 → loading cache key: template_cache_24772
[DEBUG] 14:33:10.894 os.go:238 → loading cache key: template_cache_2912
[DEBUG] 14:33:10.894 os.go:238 → loading cache key: template_cache_2954
[DEBUG] 14:33:10.894 os.go:238 → loading cache key: prompt_count_cache_24772
[DEBUG] 14:33:10.894 os.go:238 → loading cache key: prompt_count_cache_5432
[DEBUG] 14:33:10.894 os.go:238 → loading cache key: prompt_count_cache_6295
[TRACE] 14:33:10.894 os.go(C:\Users\smartin\AppData\Local\oh-my-posh\omp.cache) - 519.6µs
[DEBUG] 14:33:10.894 os.go:Getenv:333 → C:\Users\smartin\AppData\Local
[TRACE] 14:33:10.894 os.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 14:33:10.894 os_windows.go:CachePath() - 0s
[DEBUG] 14:33:10.894 os.go:238 → loading cache file: C:\Users\smartin\AppData\Local\oh-my-posh\omp.cache.8248
[TRACE] 14:33:10.895 os.go(C:\Users\smartin\AppData\Local\oh-my-posh\omp.cache.8248) - 520µs
[DEBUG] 14:33:10.895 os.go:Getenv:333 → C:\cygwin64\home\smartin\src\dotfiles\config.omp.json
[TRACE] 14:33:10.895 os.go:Getenv(POSH_THEME) - 0s
[DEBUG] 14:33:10.895 os.go:resolveConfigPath:261 → config set using POSH_THEME: C:\cygwin64\home\smartin\src\dotfiles\config.omp.json
[TRACE] 14:33:10.895 os.go:resolveConfigPath() - 0s
[TRACE] 14:33:10.895 os.go:SetPromptCount() - 0s
[TRACE] 14:33:10.895 os.go:Init() - 2.0782ms
[TRACE] 14:33:10.895 os.go:Flags() - 0s
[TRACE] 14:33:10.896 load.go:loadConfig() - 1.0388ms
[TRACE] 14:33:10.896 os.go:Flags() - 0s
[DEBUG] 14:33:10.896 debug.go:50 → terminal program: Windows Terminal
[DEBUG] 14:33:10.896 debug.go:50 → terminal shell: shell
[DEBUG] 14:33:10.896 os.go:Getenv:333 → NO DATA
[TRACE] 14:33:10.896 os.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 14:33:10.896 os_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 14:33:10.896 os.go:GOOS() - 0s
[TRACE] 14:33:10.896 os.go:GOOS() - 0s
[TRACE] 14:33:10.896 os.go:GOOS() - 0s
[TRACE] 14:33:10.896 os.go:GOOS() - 0s
[TRACE] 14:33:10.896 os.go:GOOS() - 0s
[TRACE] 14:33:10.896 os.go:GOOS() - 0s
[TRACE] 14:33:10.896 os.go:GOOS() - 0s
[TRACE] 14:33:10.896 os.go:GOOS() - 0s
[TRACE] 14:33:10.897 os.go:GOOS() - 0s
[TRACE] 14:33:10.897 os.go:GOOS() - 0s
[TRACE] 14:33:10.897 os.go:GOOS() - 0s
[TRACE] 14:33:10.897 os.go:GOOS() - 0s
[TRACE] 14:33:10.897 os.go:GOOS() - 0s
[TRACE] 14:33:10.897 os.go:GOOS() - 0s
[TRACE] 14:33:10.897 os.go:GOOS() - 0s
[TRACE] 14:33:10.897 os.go:GOOS() - 0s
[TRACE] 14:33:10.897 os.go:GOOS() - 0s
[TRACE] 14:33:10.897 os.go:GOOS() - 0s
[TRACE] 14:33:10.897 os.go:GOOS() - 0s
[DEBUG] 14:33:10.897 os_windows.go:WindowsRegistryKeyValue:226 → ColorizationColor(DWORD): 0x001B435A
[TRACE] 14:33:10.897 os.go:Shell() - 0s
[DEBUG] 14:33:10.897 os.go:Getenv:333 → 7.4.4
[TRACE] 14:33:10.897 os.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 14:33:10.897 debug.go:PrintDebug:23 → segment: Title
[DEBUG] 14:33:10.897 text.go:Render:79 → rendering template: {{ .Shell }} in {{ .Folder }}
[TRACE] 14:33:10.897 os.go:Flags() - 0s
[TRACE] 14:33:10.898 os_windows.go:Root() - 0s
[TRACE] 14:33:10.898 os.go:Shell() - 0s
[TRACE] 14:33:10.898 os.go:StatusCodes() - 0s
[TRACE] 14:33:10.898 os_windows.go:IsWsl() - 0s
[DEBUG] 14:33:10.898 os.go:TemplateCache:822 → environment: [ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\smartin\AppData\Roaming ChocolateyInstall=C:\ProgramData\chocolatey ChocolateyLastPathUpdate=133622709274685712 ChocolateyToolsLocation=C:\tools CLINK_DIR=C:\Program Files (x86)\clink CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=ENTERPRISE ComSpec=C:\WINDOWS\system32\cmd.exe CONDA_PROMPT_MODIFIER=False configsetroot=C:\WINDOWS\ConfigSetRoot DriverData=C:\Windows\System32\Drivers\DriverData GOPATH=C:\Users\smartin\go HOMEDRIVE=C: HOMEPATH=\Users\smartin JAVA_HOME=C:\Program Files\OpenJDK\jdk-22.0.1 LOCALAPPDATA=C:\Users\smartin\AppData\Local LOGONSERVER=\\ENTERPRISE NUMBER_OF_PROCESSORS=20 OneDrive=C:\Users\smartin\OneDrive OneDriveConsumer=C:\Users\smartin\OneDrive OS=Windows_NT Path=C:\Program Files\PowerShell\7;C:\Users\smartin\AppData\Local\Programs\Python\Python312\Scripts\;C:\Users\smartin\AppData\Local\Programs\Python\Python312\;C:\ProgramData\scoop\shims;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\dotnet\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\tools\php82;C:\tools\BCURRAN3;C:\tools\gsudo\Current;C:\tools\php83;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Program Files\NVIDIA Corporation\NVIDIA App\NvDLISR;C:\Program Files\OpenJDK\jdk-22.0.1\bin;C:\Program Files\Git\cmd;C:\Program Files\Docker\Docker\resources\bin;C:\Program Files\Go\bin;C:\Program Files\GitHub CLI\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\nodejs\;C:\Program Files\PowerShell\7\;C:\Ruby32-x64\bin;C:\Users\smartin\AppData\Local\pnpm;C:\Users\smartin\scoop\shims;C:\Users\smartin\.cargo\bin;C:\Users\smartin\AppData\Local\Microsoft\WindowsApps;C:\Users\smartin\AppData\Local\Programs\Microsoft VS Code\bin;C:\tools\neovim\nvim-win64\bin;C:\Program Files (x86)\Nmap;C:\Users\smartin\AppData\Local\Programs\oh-my-posh\bin;C:\Users\smartin\.dotnet\tools;C:\Users\smartin\AppData\Local\Microsoft\WinGet\Links;C:\Users\smartin\AppData\Local\GitHubDesktop\bin;C:\Users\smartin\go\bin;C:\Users\smartin\AppData\Roaming\npm;C:\Program Files\Git\usr\bin PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.RB;.RBW;.CPL PNPM_HOME=C:\Users\smartin\AppData\Local\pnpm POSH_CURSOR_COLUMN=1 POSH_CURSOR_LINE=43 POSH_INSTALLER=winget POSH_PID=8248 POSH_SHELL_VERSION=7.4.4 POSH_THEME=C:\cygwin64\home\smartin\src\dotfiles\config.omp.json POSH_THEMES_PATH=C:\Users\smartin\AppData\Local\Programs\oh-my-posh\themes POWERLINE_COMMAND=oh-my-posh POWERSHELL_DISTRIBUTION_CHANNEL=MSI:Windows 10 Pro PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 151 Stepping 2, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=9702 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PSModulePath=C:\Users\smartin\OneDrive\Documents\PowerShell\Modules;C:\Program Files\PowerShell\Modules;c:\program files\powershell\7\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files\Intel\Wired Networking\ PUBLIC=C:\Users\Public SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\WINDOWS TEMP=C:\Users\smartin\AppData\Local\Temp TMP=C:\Users\smartin\AppData\Local\Temp USERDOMAIN=ENTERPRISE USERDOMAIN_ROAMINGPROFILE=ENTERPRISE USERNAME=smartin USERPROFILE=C:\Users\smartin windir=C:\WINDOWS WSLENV=WT_SESSION:WT_PROFILE_ID: WT_PROFILE_ID={574e775e-4f2a-5b96-ac1e-a2962a402336} WT_SESSION=724f39bb-6da7-4980-9c66-2cefeb4bdc9b XDG_CACHE_HOME=C:\cygwin64\home\smartin\.cache ZES_ENABLE_SYSMAN=1]
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[DEBUG] 14:33:10.898 os.go:Pwd:363 → C:\Users\smartin
[TRACE] 14:33:10.898 os.go:Pwd() - 0s
[DEBUG] 14:33:10.898 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.898 os_windows.go:IsWsl() - 0s
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[DEBUG] 14:33:10.898 os.go:User:501 → smartin
[TRACE] 14:33:10.898 os.go:User() - 0s
[DEBUG] 14:33:10.898 os.go:Host:518 → ENTERPRISE
[TRACE] 14:33:10.898 os.go:Host() - 0s
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[DEBUG] 14:33:10.898 os.go:Getenv:333 → NO DATA
[TRACE] 14:33:10.898 os.go:Getenv(SHLVL) - 0s
[TRACE] 14:33:10.898 os.go:TemplateCache() - 1.0385ms
[TRACE] 14:33:10.898 os.go:Shell() - 0s
[DEBUG] 14:33:10.898 os.go:Getenv:333 → 43
[TRACE] 14:33:10.898 os.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 14:33:10.898 os.go:Getenv:333 → 1
[TRACE] 14:33:10.898 os.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 14:33:10.898 os.go:Flags() - 0s
[TRACE] 14:33:10.898 os.go:Flags() - 0s
[TRACE] 14:33:10.898 os.go:Flags() - 0s
[TRACE] 14:33:10.898 os.go:Flags() - 0s
[TRACE] 14:33:10.898 os.go:Flags() - 0s
[TRACE] 14:33:10.898 os.go:Pwd() - 0s
[TRACE] 14:33:10.898 os.go:Pwd() - 0s
[TRACE] 14:33:10.898 os.go:Pwd() - 0s
[DEBUG] 14:33:10.898 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[DEBUG] 14:33:10.898 os_windows.go:58 → C:\Users\smartin
[DEBUG] 14:33:10.898 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[DEBUG] 14:33:10.898 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[DEBUG] 14:33:10.898 segment.go:SetEnabled:115 → segment: Os
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[DEBUG] 14:33:10.898 segment.go:SetEnabled:115 → segment: Executiontime
[DEBUG] 14:33:10.898 segment.go:SetEnabled:115 → segment: Connection
[DEBUG] 14:33:10.898 segment.go:SetEnabled:115 → segment: Session
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[DEBUG] 14:33:10.898 os.go:Enabled:34 → 󰕰
[TRACE] 14:33:10.898 os.go:TemplateCache() - 0s
[DEBUG] 14:33:10.898 executiontime.go:Enabled:57 → always_enabled: false
[DEBUG] 14:33:10.898 connection.go:Enabled:26 → wifi|ethernet
[TRACE] 14:33:10.898 os.go:Flags() - 0s
[TRACE] 14:33:10.898 os.go:Pwd() - 0s
[DEBUG] 14:33:10.898 executiontime.go:Enabled:59 → threshold: 0.000000
[DEBUG] 14:33:10.898 os_windows.go:58 → C:\Users\smartin
[DEBUG] 14:33:10.898 executiontime.go:Enabled:63 → roundrock
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[DEBUG] 14:33:10.898 segment.go:SetEnabled:115 → segment: Git
[TRACE] 14:33:10.898 os.go:TemplateCache() - 0s
[TRACE] 14:33:10.898 os.go:Flags() - 0s
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[TRACE] 14:33:10.898 os.go:Pwd() - 0s
[DEBUG] 14:33:10.898 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.898 os.go:Flags() - 0s
[DEBUG] 14:33:10.898 os.go:Getenv:333 → C:\Users\smartin\AppData\Local
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[DEBUG] 14:33:10.898 segment.go:SetEnabled:115 → segment: Root
[TRACE] 14:33:10.898 os.go:Pwd() - 0s
[DEBUG] 14:33:10.898 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[DEBUG] 14:33:10.898 segment.go:SetEnabled:115 → segment: Path
[DEBUG] 14:33:10.898 path.go:124 → display_cygpath: false
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[TRACE] 14:33:10.898 os_windows.go:Root() - 0s
[TRACE] 14:33:10.898 os.go:PathSeparator() - 0s
[TRACE] 14:33:10.898 os.go:Pwd() - 0s
[TRACE] 14:33:10.898 os.go:Flags() - 0s
[TRACE] 14:33:10.898 os.go:Shell() - 0s
[TRACE] 14:33:10.898 os.go:Pwd() - 0s
[TRACE] 14:33:10.898 os.go:Flags() - 0s
[DEBUG] 14:33:10.898 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[DEBUG] 14:33:10.898 segment.go:SetEnabled:115 → segment: Session
[DEBUG] 14:33:10.898 path.go:replaceMappedLocations:516 → mapped_locations_enabled: true
[DEBUG] 14:33:10.898 path.go:replaceMappedLocations:517 → 
[DEBUG] 14:33:10.898 path.go:replaceMappedLocations:518 → 
[DEBUG] 14:33:10.898 os_windows.go:58 → C:\Users\smartin
[DEBUG] 14:33:10.898 os_windows.go:TerminalWidth:116 → terminal width: 125
[TRACE] 14:33:10.898 os_windows.go:TerminalWidth() - 0s
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[DEBUG] 14:33:10.898 os.go:Getenv:333 → NO DATA
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[TRACE] 14:33:10.898 os.go:Getenv(SSH_CONNECTION) - 0s
[DEBUG] 14:33:10.898 os.go:Getenv:333 → NO DATA
[TRACE] 14:33:10.898 os.go:Getenv(SSH_CLIENT) - 0s
[TRACE] 14:33:10.898 os.go:TemplateCache() - 0s
[DEBUG] 14:33:10.898 path.go:replaceMappedLocations:519 → 
[DEBUG] 14:33:10.898 path.go:replaceMappedLocations:524 → mapped_locations: map[C:/Users/smartin:]
[DEBUG] 14:33:10.898 text.go:Render:79 → rendering template: C:/Users/smartin
[TRACE] 14:33:10.898 os.go:Flags() - 0s
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[TRACE] 14:33:10.898 os.go:GOOS() - 0s
[TRACE] 14:33:10.899 os.go:GOOS() - 0s
[TRACE] 14:33:10.899 os.go:GOOS() - 0s
[TRACE] 14:33:10.899 os.go:GOOS() - 0s
[TRACE] 14:33:10.899 os.go:GOOS() - 0s
[TRACE] 14:33:10.899 os.go:GOOS() - 0s
[TRACE] 14:33:10.899 os.go:GOOS() - 0s
[TRACE] 14:33:10.899 os.go:GOOS() - 0s
[TRACE] 14:33:10.899 os.go:GOOS() - 0s
[DEBUG] 14:33:10.899 path.go:makeFolderFormatMap:840 → NO DATA
[TRACE] 14:33:10.899 os.go:Pwd() - 0s
[TRACE] 14:33:10.899 os.go:TemplateCache() - 0s
[TRACE] 14:33:10.899 os.go:StackCount() - 0s
[DEBUG] 14:33:10.899 os_windows.go:TerminalWidth:116 → terminal width: 125
[TRACE] 14:33:10.899 os_windows.go:TerminalWidth() - 675.9µs
[DEBUG] 14:33:10.899 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 14:33:10.899 win32_windows.go:isWriteable:303 → current user is member of S-1-5-32-544
[DEBUG] 14:33:10.899 win32_windows.go:isWriteable:311 ↓
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 14:33:10.899 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 14:33:10.899 os_windows.go:DirIsWritable() - 144.7µs
[TRACE] 14:33:10.899 os.go:TemplateCache() - 0s
[TRACE] 14:33:10.900 networks_windows.go:wifiNetwork() - 0s
[ERROR] 14:33:10.901 os_windows.go:Connection:260 → Network type 'wifi' not found
[TRACE] 14:33:10.901 os.go:TemplateCache() - 0s
[DEBUG] 14:33:10.907 os.go:CommandPath:560 → C:\Program Files\Git\cmd\git.exe
[TRACE] 14:33:10.907 os.go:CommandPath(git.exe) - 8.5863ms
[TRACE] 14:33:10.907 os.go:HasCommand(git.exe) - 8.5863ms
[TRACE] 14:33:10.907 os.go:Pwd() - 0s
[DEBUG] 14:33:10.907 os.go:ResolveSymlink:460 → C:\Users\smartin
[TRACE] 14:33:10.907 os.go:ResolveSymlink(C:\Users\smartin) - 521.3µs
[ERROR] 14:33:10.907 os.go:HasParentFilePath:724 → CreateFile .git: The system cannot find the file specified.
[TRACE] 14:33:10.907 os.go:HasParentFilePath(.git) - 521.3µs
[DEBUG] 14:33:10.907 git.go:shouldDisplay:284 → fetch_bare_info: false
[DEBUG] 14:33:10.907 text.go:Render:79 → rendering template:  {{ if .WSL }}WSL at {{ end }}{{.Icon}}
[DEBUG] 14:33:10.907 text.go:Render:79 → rendering template:  󰔟{{ .FormattedMs }}⠀
[TRACE] 14:33:10.907 os.go:Flags() - 0s
[TRACE] 14:33:10.907 os.go:Flags() - 0s
[DEBUG] 14:33:10.907 text.go:Render:79 → rendering template:  {{ if eq .Type "wifi"}}{{ else if eq .Type "ethernet"}}{{ end }}
[TRACE] 14:33:10.907 os.go:Flags() - 0s
[DEBUG] 14:33:10.907 text.go:Render:79 → rendering template:  {{ .Path }}
[TRACE] 14:33:10.907 os.go:Flags() - 0s
[TRACE] 14:33:10.908 os.go:TemplateCache() - 0s
[TRACE] 14:33:10.908 os.go:TemplateCache() - 0s
[TRACE] 14:33:10.908 os.go:TemplateCache() - 0s
[DEBUG] 14:33:10.908 text.go:Render:79 → rendering template: {{ if .SSHSession }} {{ end }}{{ .HostName }}
[TRACE] 14:33:10.908 os.go:Flags() - 0s
[TRACE] 14:33:10.908 os.go:TemplateCache() - 0s
[TRACE] 14:33:10.908 os.go:TemplateCache() - 0s
[DEBUG] 14:33:10.908 text.go:Render:79 → rendering template: powerline
[TRACE] 14:33:10.908 os.go:Flags() - 0s
[DEBUG] 14:33:10.908 text.go:Render:79 → rendering template: powerline
[TRACE] 14:33:10.908 os.go:Flags() - 0s
[DEBUG] 14:33:10.908 text.go:Render:79 → rendering template: powerline
[TRACE] 14:33:10.908 os.go:Flags() - 0s
[DEBUG] 14:33:10.908 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.908 os.go:Flags() - 0s
[DEBUG] 14:33:10.908 text.go:Render:79 → rendering template: powerline
[TRACE] 14:33:10.908 os.go:Flags() - 0s
[DEBUG] 14:33:10.908 text.go:Render:79 → rendering template: powerline
[TRACE] 14:33:10.908 os.go:Flags() - 0s
[DEBUG] 14:33:10.908 text.go:Render:79 → rendering template: powerline
[TRACE] 14:33:10.908 os.go:Flags() - 0s
[DEBUG] 14:33:10.908 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.908 os.go:Flags() - 0s
[TRACE] 14:33:10.908 os.go:Shell() - 0s
[TRACE] 14:33:10.908 os.go:Flags() - 0s
[TRACE] 14:33:10.908 os.go:Flags() - 0s
[TRACE] 14:33:10.908 os.go:Flags() - 0s
[TRACE] 14:33:10.908 os.go:Pwd() - 0s
[DEBUG] 14:33:10.908 ipify.go:Init:69 → http_timeout: 1000
[DEBUG] 14:33:10.908 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.908 os.go:GOOS() - 0s
[DEBUG] 14:33:10.908 segment.go:SetEnabled:115 → segment: Shell
[DEBUG] 14:33:10.908 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.908 os.go:GOOS() - 0s
[TRACE] 14:33:10.908 os.go:Pwd() - 0s
[DEBUG] 14:33:10.908 shell.go:Enabled:28 → mapped_shell_names: map[]
[DEBUG] 14:33:10.908 segment.go:SetEnabled:115 → segment: Ipify
[TRACE] 14:33:10.908 os.go:Shell() - 0s
[DEBUG] 14:33:10.908 os_windows.go:TerminalWidth:99 → terminal width: 125
[TRACE] 14:33:10.908 os.go:Flags() - 0s
[DEBUG] 14:33:10.908 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.908 os_windows.go:TerminalWidth() - 0s
[TRACE] 14:33:10.908 os.go:GOOS() - 0s
[TRACE] 14:33:10.908 os.go:TemplateCache() - 0s
[TRACE] 14:33:10.908 os.go:Flags() - 0s
[DEBUG] 14:33:10.908 segment.go:SetEnabled:115 → segment: Azfunc
[TRACE] 14:33:10.908 os.go:Flags() - 0s
[TRACE] 14:33:10.908 os.go:Pwd() - 0s
[TRACE] 14:33:10.908 os.go:Pwd() - 0s
[DEBUG] 14:33:10.908 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.908 os.go:GOOS() - 0s
[DEBUG] 14:33:10.908 language.go:Enabled:109 → extensions: [host.json local.settings.json function.json]
[DEBUG] 14:33:10.908 segment.go:SetEnabled:115 → segment: Aws
[DEBUG] 14:33:10.908 language.go:Enabled:109 → extensions: [angular.json]
[DEBUG] 14:33:10.908 language.go:Enabled:110 → folders: []
[DEBUG] 14:33:10.908 language.go:Enabled:110 → folders: []
[DEBUG] 14:33:10.908 aws.go:Enabled:42 → display_default: true
[DEBUG] 14:33:10.908 language.go:Enabled:117 → home_enabled: false
[DEBUG] 14:33:10.908 os.go:Getenv:333 → NO DATA
[TRACE] 14:33:10.908 os.go:Pwd() - 0s
[TRACE] 14:33:10.908 os.go:Pwd() - 0s
[TRACE] 14:33:10.908 os.go:Getenv(AWS_VAULT) - 0s
[TRACE] 14:33:10.908 os.go:Flags() - 0s
[DEBUG] 14:33:10.908 os_windows.go:58 → C:\Users\smartin
[DEBUG] 14:33:10.908 os.go:Getenv:333 → NO DATA
[DEBUG] 14:33:10.908 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.908 os.go:Flags() - 0s
[TRACE] 14:33:10.908 os.go:Getenv(AWS_DEFAULT_PROFILE) - 0s
[DEBUG] 14:33:10.908 os.go:Getenv:333 → NO DATA
[TRACE] 14:33:10.908 os.go:Getenv(AWS_PROFILE) - 0s
[TRACE] 14:33:10.908 os.go:Pwd() - 0s
[DEBUG] 14:33:10.908 os.go:Getenv:333 → NO DATA
[TRACE] 14:33:10.908 os.go:Getenv(AWS_REGION) - 0s
[TRACE] 14:33:10.908 os.go:Pwd() - 0s
[DEBUG] 14:33:10.908 sysinfo.go:Init:36 → precision: 2
[DEBUG] 14:33:10.908 os.go:Getenv:333 → NO DATA
[DEBUG] 14:33:10.908 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.908 os.go:Getenv(AWS_DEFAULT_REGION) - 0s
[DEBUG] 14:33:10.908 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.908 os.go:GOOS() - 0s
[DEBUG] 14:33:10.908 os.go:Getenv:333 → NO DATA
[TRACE] 14:33:10.908 os.go:GOOS() - 0s
[DEBUG] 14:33:10.908 segment.go:SetEnabled:115 → segment: Az
[DEBUG] 14:33:10.908 segment.go:SetEnabled:115 → segment: Time
[TRACE] 14:33:10.908 os.go:Getenv(AWS_CONFIG_FILE) - 0s
[DEBUG] 14:33:10.908 az.go:Enabled:85 → first_match
[DEBUG] 14:33:10.908 time.go:Enabled:29 → 15:04:05
[DEBUG] 14:33:10.908 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.908 os.go:TemplateCache() - 0s
[DEBUG] 14:33:10.908 os.go:Getenv:333 → NO DATA
[TRACE] 14:33:10.908 os.go:Getenv(AZURE_CONFIG_DIR) - 0s
[TRACE] 14:33:10.908 os.go:Flags() - 0s
[DEBUG] 14:33:10.908 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.908 os.go:Pwd() - 0s
[DEBUG] 14:33:10.908 os_windows.go:58 → C:\Users\smartin
[DEBUG] 14:33:10.908 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.908 os.go:GOOS() - 0s
[DEBUG] 14:33:10.908 segment.go:SetEnabled:115 → segment: Crystal
[DEBUG] 14:33:10.908 language.go:Enabled:109 → extensions: [*.cr shard.yml]
[DEBUG] 14:33:10.908 language.go:Enabled:110 → folders: []
[DEBUG] 14:33:10.908 language.go:Enabled:117 → home_enabled: false
[TRACE] 14:33:10.908 os.go:Pwd() - 0s
[DEBUG] 14:33:10.908 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.908 os.go:Flags() - 0s
[DEBUG] 14:33:10.908 cf.go:Init:28 → files
[TRACE] 14:33:10.908 os.go:Pwd() - 0s
[DEBUG] 14:33:10.908 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.908 os.go:GOOS() - 0s
[TRACE] 14:33:10.908 os.go:Pwd() - 0s
[DEBUG] 14:33:10.908 segment.go:SetEnabled:115 → segment: Cf
[DEBUG] 14:33:10.908 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.908 os.go:GOOS() - 0s
[DEBUG] 14:33:10.908 segment.go:SetEnabled:115 → segment: Sysinfo
[TRACE] 14:33:10.908 os.go:TemplateCache() - 0s
[DEBUG] 14:33:10.908 language.go:Enabled:117 → home_enabled: false
[TRACE] 14:33:10.908 os.go:Pwd() - 0s
[DEBUG] 14:33:10.908 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.908 os.go:Flags() - 0s
[TRACE] 14:33:10.908 os.go:Pwd() - 0s
[DEBUG] 14:33:10.908 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.908 os.go:GOOS() - 0s
[DEBUG] 14:33:10.908 segment.go:SetEnabled:115 → segment: Cftarget
[DEBUG] 14:33:10.908 os.go:Getenv:333 → C:\Users\smartin\AppData\Local
[TRACE] 14:33:10.908 os.go:Getenv(LOCALAPPDATA) - 0s
[ERROR] 14:33:10.908 os.go:FileContent:471 → open C:\Users\smartin/.aws/config: The system cannot find the file specified.
[TRACE] 14:33:10.908 os.go:FileContent(C:\Users\smartin/.aws/config) - 504.2µs
[TRACE] 14:33:10.908 os.go:Flags() - 0s
[TRACE] 14:33:10.908 os.go:Pwd() - 0s
[DEBUG] 14:33:10.908 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.908 os.go:GOOS() - 0s
[DEBUG] 14:33:10.908 segment.go:SetEnabled:115 → segment: Kubectl
[DEBUG] 14:33:10.908 kubectl.go:Enabled:51 → parse_kubeconfig: false
[DEBUG] 14:33:10.908 os.go:Getenv:333 → C:\Users\smartin\AppData\Local
[TRACE] 14:33:10.908 os.go:Getenv(LOCALAPPDATA) - 0s
[DEBUG] 14:33:10.908 os.go:HasFilesInDir:416 → false
[TRACE] 14:33:10.908 os.go:HasFilesInDir(azureProfile.json) - 504.2µs
[DEBUG] 14:33:10.908 os.go:HasFilesInDir:416 → false
[TRACE] 14:33:10.908 os.go:HasFilesInDir(azureProfile.json) - 0s
[DEBUG] 14:33:10.908 os.go:Getenv:333 → NO DATA
[TRACE] 14:33:10.908 os.go:Getenv(POSH_AZURE_SUBSCRIPTION) - 0s
[TRACE] 14:33:10.908 os.go:Flags() - 0s
[DEBUG] 14:33:10.909 python.go:Init:61 → environment
[TRACE] 14:33:10.909 os.go:Pwd() - 0s
[DEBUG] 14:33:10.909 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.909 os.go:GOOS() - 0s
[DEBUG] 14:33:10.909 segment.go:SetEnabled:115 → segment: Python
[DEBUG] 14:33:10.909 language.go:Enabled:109 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[DEBUG] 14:33:10.909 language.go:Enabled:110 → folders: [.venv venv virtualenv venv-win pyenv-win]
[DEBUG] 14:33:10.909 language.go:Enabled:117 → home_enabled: false
[TRACE] 14:33:10.909 os.go:Pwd() - 0s
[DEBUG] 14:33:10.909 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.909 os.go:Flags() - 0s
[TRACE] 14:33:10.909 os.go:Flags() - 0s
[TRACE] 14:33:10.909 os.go:Pwd() - 0s
[DEBUG] 14:33:10.909 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.909 os.go:Pwd() - 0s
[TRACE] 14:33:10.909 os.go:GOOS() - 0s
[DEBUG] 14:33:10.909 segment.go:SetEnabled:115 → segment: Cmake
[DEBUG] 14:33:10.909 language.go:Enabled:109 → extensions: [*.cmake CMakeLists.txt]
[DEBUG] 14:33:10.909 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.909 os.go:Flags() - 0s
[TRACE] 14:33:10.909 os.go:GOOS() - 0s
[DEBUG] 14:33:10.909 language.go:Enabled:117 → home_enabled: false
[TRACE] 14:33:10.909 os.go:Pwd() - 0s
[DEBUG] 14:33:10.909 segment.go:SetEnabled:115 → segment: Nx
[DEBUG] 14:33:10.909 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.909 os.go:Flags() - 0s
[TRACE] 14:33:10.909 os.go:Pwd() - 0s
[DEBUG] 14:33:10.909 language.go:Enabled:109 → extensions: [workspace.json nx.json]
[DEBUG] 14:33:10.909 language.go:Enabled:110 → folders: []
[DEBUG] 14:33:10.909 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.909 os.go:GOOS() - 0s
[DEBUG] 14:33:10.909 language.go:Enabled:117 → home_enabled: false
[TRACE] 14:33:10.909 os.go:Pwd() - 0s
[DEBUG] 14:33:10.909 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.909 os.go:Flags() - 0s
[TRACE] 14:33:10.909 os.go:Flags() - 0s
[TRACE] 14:33:10.909 os.go:Pwd() - 0s
[DEBUG] 14:33:10.909 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.909 os.go:GOOS() - 0s
[DEBUG] 14:33:10.909 segment.go:SetEnabled:115 → segment: Node
[TRACE] 14:33:10.909 os.go:Pwd() - 0s
[TRACE] 14:33:10.909 os.go:Pwd() - 0s
[DEBUG] 14:33:10.909 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.909 os.go:GOOS() - 0s
[DEBUG] 14:33:10.909 segment.go:SetEnabled:115 → segment: Perl
[TRACE] 14:33:10.909 os.go:Flags() - 0s
[DEBUG] 14:33:10.909 language.go:Enabled:109 → extensions: [.perl-version *.pl *.pm *.t]
[DEBUG] 14:33:10.909 language.go:Enabled:110 → folders: []
[DEBUG] 14:33:10.909 language.go:Enabled:109 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .vue]
[TRACE] 14:33:10.909 os.go:Pwd() - 0s
[DEBUG] 14:33:10.909 language.go:Enabled:117 → home_enabled: false
[TRACE] 14:33:10.909 os.go:Pwd() - 0s
[DEBUG] 14:33:10.909 os_windows.go:58 → C:\Users\smartin
[DEBUG] 14:33:10.909 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.909 os.go:GOOS() - 0s
[DEBUG] 14:33:10.909 language.go:Enabled:117 → home_enabled: false
[TRACE] 14:33:10.909 os.go:Flags() - 0s
[DEBUG] 14:33:10.909 segment.go:SetEnabled:115 → segment: Ruby
[TRACE] 14:33:10.909 os.go:Pwd() - 0s
[TRACE] 14:33:10.909 os.go:Pwd() - 0s
[DEBUG] 14:33:10.909 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.909 os.go:GOOS() - 0s
d:109 → extensions: [*.rb Rakefile Gemfile]
[DEBUG] 14:33:10.909 os_windows.go:58 → C:\Users\smartin
[DEBUG] 14:33:10.909 segment.go:SetEnabled:115 → segment: Flutter
[DEBUG] 14:33:10.909 language.go:Enabled:110 → folders: []
[TRACE] 14:33:10.909 os.go:Flags() - 0s
[DEBUG] 14:33:10.909 language.go:Enabled:109 → extensions: [*.dart pubspec.yaml pubspec.yml pubspec.lock]
[DEBUG] 14:33:10.909 language.go:Enabled:117 → home_enabled: false
[DEBUG] 14:33:10.909 language.go:Enabled:110 → folders: [.dart_tool]
[TRACE] 14:33:10.909 os.go:Pwd() - 0s
[DEBUG] 14:33:10.909 language.go:Enabled:117 → home_enabled: false
[DEBUG] 14:33:10.909 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.909 os.go:Flags() - 0s
[TRACE] 14:33:10.909 os.go:Pwd() - 0s
[DEBUG] 14:33:10.909 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.909 os.go:Pwd() - 0s
[DEBUG] 14:33:10.909 segment.go:SetEnabled:115 → segment: Dart
[DEBUG] 14:33:10.909 language.go:Enabled:109 → extensions: [*.dart pubspec.yaml pubspec.yml pubspec.lock]
[DEBUG] 14:33:10.909 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.909 os.go:GOOS() - 0s
[TRACE] 14:33:10.909 os.go:Pwd() - 0s
[DEBUG] 14:33:10.909 segment.go:SetEnabled:115 → segment: Kotlin
[DEBUG] 14:33:10.909 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.909 os.go:GOOS() - 0s
[DEBUG] 14:33:10.909 segment.go:SetEnabled:115 → segment: Julia
[DEBUG] 14:33:10.909 language.go:Enabled:109 → extensions: [*.jl]
[DEBUG] 14:33:10.909 language.go:Enabled:110 → folders: []
[DEBUG] 14:33:10.909 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.909 os.go:GOOS() - 0s
[DEBUG] 14:33:10.909 segment.go:SetEnabled:115 → segment: Php
[TRACE] 14:33:10.909 os.go:Flags() - 0s
[DEBUG] 14:33:10.909 language.go:Enabled:109 → extensions: [*.php composer.json composer.lock .php-version blade.php]
[DEBUG] 14:33:10.909 language.go:Enabled:110 → folders: []
[TRACE] 14:33:10.910 os.go:Pwd() - 0s
[DEBUG] 14:33:10.910 language.go:Enabled:117 → home_enabled: false
[DEBUG] 14:33:10.910 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.910 os.go:Pwd() - 0s
[TRACE] 14:33:10.910 os.go:GOOS() - 0s
[DEBUG] 14:33:10.910 segment.go:SetEnabled:115 → segment: Java
[DEBUG] 14:33:10.910 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.910 os.go:Flags() - 0s
[DEBUG] 14:33:10.910 language.go:Enabled:109 → extensions: [pom.xml build.gradle.kts build.sbt .java-version .deps.edn project.clj build.boot *.java *.class *.gradle *.jar *.clj *.cljc]
[DEBUG] 14:33:10.910 language.go:Enabled:110 → folders: []
[DEBUG] 14:33:10.910 os_windows.go:58 → C:\Users\smartin
[DEBUG] 14:33:10.910 language.go:Enabled:117 → home_enabled: false
[TRACE] 14:33:10.910 os.go:GOOS() - 0s
[TRACE] 14:33:10.910 os.go:Pwd() - 0s
[DEBUG] 14:33:10.910 segment.go:SetEnabled:115 → segment: Go
[DEBUG] 14:33:10.910 os_windows.go:58 → C:\Users\smartin
[DEBUG] 14:33:10.910 language.go:Enabled:109 → extensions: [*.go go.mod]
[DEBUG] 14:33:10.909 language.go:Enabled:109 → extensions: [*.kt *.kts *.ktm]
[DEBUG] 14:33:10.910 language.go:Enabled:110 → folders: []
[DEBUG] 14:33:10.910 language.go:Enabled:110 → folders: []
[DEBUG] 14:33:10.910 language.go:Enabled:117 → home_enabled: false
[DEBUG] 14:33:10.910 language.go:Enabled:117 → home_enabled: false
[TRACE] 14:33:10.910 os.go:Pwd() - 0s
[TRACE] 14:33:10.910 os.go:Pwd() - 0s
[DEBUG] 14:33:10.910 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.910 os.go:Flags() - 0s
[DEBUG] 14:33:10.910 os_windows.go:58 → C:\Users\smartin
[DEBUG] 14:33:10.910 language.go:Enabled:110 → folders: [.dart_tool]
[TRACE] 14:33:10.910 os.go:Pwd() - 0s
[DEBUG] 14:33:10.910 language.go:Enabled:117 → home_enabled: false
[DEBUG] 14:33:10.910 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.910 os.go:Pwd() - 0s
[TRACE] 14:33:10.910 os.go:GOOS() - 0s
[DEBUG] 14:33:10.910 os_windows.go:58 → C:\Users\smartin
[DEBUG] 14:33:10.910 segment.go:SetEnabled:115 → segment: Swift
[DEBUG] 14:33:10.910 language.go:Enabled:109 → extensions: [*.swift *.SWIFT]
[DEBUG] 14:33:10.910 language.go:Enabled:110 → folders: []
[DEBUG] 14:33:10.910 language.go:Enabled:117 → home_enabled: false
[TRACE] 14:33:10.910 os.go:Pwd() - 0s
[DEBUG] 14:33:10.911 os_windows.go:58 → C:\Users\smartin
[DEBUG] 14:33:10.911 language.go:Enabled:117 → home_enabled: false
[TRACE] 14:33:10.911 os.go:Pwd() - 0s
[DEBUG] 14:33:10.911 os_windows.go:58 → C:\Users\smartin
[DEBUG] 14:33:10.921 os.go:CommandPath:560 → C:\Program Files\Docker\Docker\resources\bin\kubectl.exe
[TRACE] 14:33:10.921 os.go:CommandPath(kubectl) - 12.2637ms
[TRACE] 14:33:10.921 os.go:HasCommand(kubectl) - 12.2637ms
[ERROR] 14:33:10.927 os.go:CommandPath:564 → The system cannot find the file specified.
[TRACE] 14:33:10.927 os.go:CommandPath(cf) - 18.5262ms
[TRACE] 14:33:10.927 os.go:HasCommand(cf) - 18.5262ms
[ERROR] 14:33:10.995 os.go:RunCommand:536 → exit status 1
[DEBUG] 14:33:10.995 os.go:RunCommand:538 ↓
    error: current-context must exist in order to minify

[TRACE] 14:33:10.995 os.go:RunCommand(kubectl config view --output yaml --minify) - 74.1638ms
[DEBUG] 14:33:10.995 kubectl.go:doCallKubectl:118 → display_error: false
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: 󱆃 {{ .Name }}
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: 󰍛 {{ round .PhysicalPercentUsed .Precision }}%
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template:  󰥔 {{ .CurrentDate | date .Format }}
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[TRACE] 14:33:10.995 os.go:TemplateCache() - 0s
[TRACE] 14:33:10.995 os.go:TemplateCache() - 0s
[TRACE] 14:33:10.995 os.go:TemplateCache() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: diamond
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[DEBUG] 14:33:10.995 os_windows.go:TerminalWidth:99 → terminal width: 125
[TRACE] 14:33:10.995 os_windows.go:TerminalWidth() - 0s
[TRACE] 14:33:10.995 os.go:Shell() - 0s
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[TRACE] 14:33:10.995 os.go:Pwd() - 0s
[TRACE] 14:33:10.995 os.go:Pwd() - 0s
[DEBUG] 14:33:10.995 os_windows.go:58 → C:\Users\smartin
[DEBUG] 14:33:10.995 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.995 os.go:GOOS() - 0s
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[TRACE] 14:33:10.995 os.go:GOOS() - 0s
[DEBUG] 14:33:10.995 segment.go:SetEnabled:115 → segment: Text
[DEBUG] 14:33:10.995 segment.go:SetEnabled:115 → segment: Status
[TRACE] 14:33:10.995 os.go:TemplateCache() - 0s
[TRACE] 14:33:10.995 os.go:StatusCodes() - 0s
[DEBUG] 14:33:10.995 text.go:Render:79 → rendering template: {{ .Code }}
[TRACE] 14:33:10.995 os.go:Flags() - 0s
[TRACE] 14:33:10.995 os.go:Pwd() - 0s
[DEBUG] 14:33:10.995 os_windows.go:58 → C:\Users\smartin
[TRACE] 14:33:10.995 os.go:GOOS() - 0s
[DEBUG] 14:33:10.995 segment.go:SetEnabled:115 → segment: Upgrade
[TRACE] 14:33:10.996 os.go:TemplateCache() - 0s
[DEBUG] 14:33:10.996 status.go:Enabled:42 → always_enabled: true
[TRACE] 14:33:10.996 os.go:TemplateCache() - 0s
[DEBUG] 14:33:10.996 text.go:Render:79 → rendering template: {{ if gt .Code 0 }} {{ .Meaning  }} ({{ .Code }}){{ else }}{{ end }}
[TRACE] 14:33:10.996 os.go:Flags() - 0s
[DEBUG] 14:33:10.996 text.go:Render:79 → rendering template: ╰─
[TRACE] 14:33:10.996 os.go:Flags() - 0s
[TRACE] 14:33:10.996 os.go:TemplateCache() - 0s
[TRACE] 14:33:10.996 os.go:Shell() - 0s
[DEBUG] 14:33:10.996 text.go:Render:79 → rendering template: plain
[TRACE] 14:33:10.996 os.go:Flags() - 0s
[DEBUG] 14:33:10.996 text.go:Render:79 → rendering template: plain
[TRACE] 14:33:10.996 os.go:Flags() - 0s
[DEBUG] 14:33:10.996 text.go:Render:79 → rendering template: {{ if gt .Code 0 }}#ef5350{{ end }}
[TRACE] 14:33:10.996 os.go:Flags() - 0s
[TRACE] 14:33:10.996 os.go:TemplateCache() - 0s
[DEBUG] 14:33:10.996 text.go:Render:79 → rendering template: plain
[TRACE] 14:33:10.996 os.go:Flags() - 0s
[DEBUG] 14:33:10.996 text.go:Render:79 → rendering template: {{ if gt .Code 0 }}#ef5350{{ end }}
[TRACE] 14:33:10.996 os.go:Flags() - 0s
[TRACE] 14:33:10.996 os.go:TemplateCache() - 0s
[TRACE] 14:33:10.996 os.go:Shell() - 0s
[TRACE] 14:33:10.996 os.go:Flags() - 0s
[TRACE] 14:33:10.996 os.go:Shell() - 0s
[DEBUG] 14:33:10.996 os.go:Getenv:333 → C:\Users\smartin\AppData\Local
[TRACE] 14:33:10.996 os.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 14:33:10.997 os_windows.go:CachePath() - 522.1µs
[TRACE] 14:33:10.997 os.go:Flags() - 0s

PS>
@wrecklass wrecklass added the 🐛 bug Something isn't working label Jul 25, 2024
@JanDeDobbeleer
Copy link
Owner

@wrecklass what does Write-Host $error say?

@wrecklass
Copy link
Author

PS> write-host $Error
System.Management.Automation.CommandNotFoundException: The term 'Get-AzContext' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
at Microsoft.PowerShell.Executor.ExecuteCommandHelper(Pipeline tempPipeline, Exception& exceptionThrown, ExecutionOptions options) The term 'Get-AzContext' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

@wrecklass
Copy link
Author

So, with that hint, I removed the Azure portion of my config script for OMP. Turns out that fixes the issue. Although it just seems like a work around.
Did you make a change about how Azure contexts are handled recently?

@lewis-yeung
Copy link
Contributor

lewis-yeung commented Jul 26, 2024

@wrecklass What is the output of the following command in PowerShell v7.4.4 with the az segment available in your OMP theme? (No longer applicable.)

@JanDeDobbeleer
Copy link
Owner

Did you make a change about how Azure contexts are handled recently?

Yes, it now enables by itself when you set "source": "pwsh" | "first_match". I did forget to update the docs on that specifically, but that shouldn't change the fact that using the az segment with those settings expects Get-AzContext to run or it doesn't work.

JanDeDobbeleer added a commit that referenced this issue Jul 26, 2024
JanDeDobbeleer added a commit that referenced this issue Jul 26, 2024
Soyvolon pushed a commit to Soyvolon/oh-my-posh that referenced this issue Jul 27, 2024
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants