JanDeDobbeleer / oh-my-posh

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

Error when trying to use different theme "comments:796:31: literal not terminated" and "comments:845:73: invalid char literal" on Windows #4562

Closed cccarv82 closed 10 months ago

cccarv82 commented 10 months ago

Code of Conduct

What happened?

After installing oh-my-push on windows i'm trying to change the theme but the below errors occurs:

comments:671:16: literal not terminated
comments:671:16: invalid char literal
comments:694:280: literal not terminated
comments:699:100: literal not terminated
comments:703:190: literal not terminated
comments:707:380: literal not terminated
comments:796:31: literal not terminated
comments:799:19: literal not terminated
comments:845:73: literal not terminated
comments:845:73: invalid char literal
comments:880:14: literal not terminated
comments:880:14: invalid char literal
comments:1371:13: invalid char literal
comments:671:16: literal not terminated
comments:671:16: invalid char literal
comments:694:280: literal not terminated
comments:699:100: literal not terminated
comments:703:190: literal not terminated
comments:707:380: literal not terminated
comments:796:31: literal not terminated
comments:799:19: literal not terminated
comments:845:73: literal not terminated
comments:845:73: invalid char literal
comments:880:14: literal not terminated
comments:880:14: invalid char literal
comments:1371:13: invalid char literal
 Carlos   ~    CONFIG ERROR                                     in pwsh at 15:41:50

image

Theme

Its working for default theme but every other theme that i try i get the commented error

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

 Administrator  oh-my-posh debug --plain
comments:671:16: literal not terminated
comments:671:16: invalid char literal
comments:694:280: literal not terminated
comments:699:100: literal not terminated
comments:703:190: literal not terminated
comments:707:380: literal not terminated
comments:796:31: literal not terminated
comments:799:19: literal not terminated
comments:845:73: literal not terminated
comments:845:73: invalid char literal
comments:880:14: literal not terminated
comments:880:14: invalid char literal
comments:1371:13: invalid char literal

Version: 19.3.0

Shell: powershell (5.1.22621.2506)

Prompt:

 Carlos   ~    CONFIG ERROR                                                           in powershell at 15:43:56
Segments:

ConsoleTitle(true)                        -   0 ms
Session(true)                             -   0 ms
Path(true)                                -   1 ms
Git(false)                                -   4 ms
Root(true)                                -   0 ms
Status(true)                              -   1 ms
Node(false)                               -   0 ms
Go(false)                                 -   0 ms
Python(false)                             -   0 ms
Shell(true)                               -   0 ms
Time(true)                                -   0 ms

Run duration: 21.8352ms

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

Config path: C:\Users\Administrator\AppData\Local\oh-my-posh\config.aHR0cHM6Ly9naXRodWIuY29tL0phbkRlRG9iYmVsZWVyL29oLW15LXBvc2gvYmxvYi9tYWluL3RoZW1lcy9hZ25vc3Rlci5vbXAuanNvbg==.omp.json

Logs:

[DEBUG] 15:43:56.937 shell.go:Getenv:399 → NO DATA
[TRACE] 15:43:56.937 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 15:43:56.937 shell.go:Getenv:399 → C:\Users\Administrator\AppData\Local
[TRACE] 15:43:56.937 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 15:43:56.937 shell_windows.go:CachePath() - 516.4µs
[DEBUG] 15:43:56.937 shell.go:Getenv:399 → C:\Users\Administrator\AppData\Local\oh-my-posh\config.aHR0cHM6Ly9naXRodWIuY29tL0phbkRlRG9iYmVsZWVyL29oLW15LXBvc2gvYmxvYi9tYWluL3RoZW1lcy9hZ25vc3Rlci5vbXAuanNvbg==.omp.json
[TRACE] 15:43:56.937 shell.go:Getenv(POSH_THEME) - 0s
[DEBUG] 15:43:56.937 shell.go:Shell:662 → no shell name provided in flags, trying to detect it
[DEBUG] 15:43:56.941 shell.go:Shell:670 → process name: powershell.exe
[TRACE] 15:43:56.941 shell.go:Shell() - 4.2827ms
[TRACE] 15:43:56.941 shell.go:resolveConfigPath() - 4.2827ms
[TRACE] 15:43:56.941 shell.go:Init() - 4.7991ms
[TRACE] 15:43:56.941 shell.go:Flags() - 0s
[ERROR] 15:43:56.951 config.go:loadConfig:160 → expected { character for map value
[TRACE] 15:43:56.951 config.go:loadConfig() - 9.9088ms
[TRACE] 15:43:56.951 shell.go:Flags() - 0s
[DEBUG] 15:43:56.951 shell.go:Getenv:399 → NO DATA
[TRACE] 15:43:56.951 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 15:43:56.951 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[DEBUG] 15:43:56.951 shell_windows.go:WindowsRegistryKeyValue:215 → ColorizationColor(DWORD): 0xC400B7C3
[TRACE] 15:43:56.951 shell.go:Shell() - 0s
[DEBUG] 15:43:56.951 shell.go:Getenv:399 → 5.1.22621.2506
[TRACE] 15:43:56.951 shell.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 15:43:56.951 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 15:43:56.951 text.go:Render:70 → Rendering template: {{ .Shell }} in {{ .Folder }}
[TRACE] 15:43:56.951 shell_windows.go:Root() - 0s
[TRACE] 15:43:56.951 shell.go:Shell() - 0s
[TRACE] 15:43:56.951 shell.go:StatusCodes() - 0s
[TRACE] 15:43:56.951 shell_windows.go:IsWsl() - 0s
[DEBUG] 15:43:56.951 shell.go:TemplateCache:843 → environment: [ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\Administrator\AppData\Roaming CGO_ENABLED=1 CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=WIN-61956BA54F2 ComSpec=C:\Windows\system32\cmd.exe CONDA_PROMPT_MODIFIER=False D3DGEARPATH=c:\program files (x86)\steam\steamapps\common\iracing\d3dgear DriverData=C:\Windows\System32\Drivers\DriverData GOPATH=C:\Users\Administrator\go HOMEDRIVE=C: HOMEPATH=\Users\Administrator JAVA_HOME=C:\java\jdk8 JRE_HOME=C:\java\jre8 LOCALAPPDATA=C:\Users\Administrator\AppData\Local LOGONSERVER=\\WIN-61956BA54F2 NUMBER_OF_PROCESSORS=6 OS=Windows_NT PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\dotnet\;C:\Program Files\Git\cmd;C:\flutter\bin;C:\java\jre8\bin;c:\program files (x86)\steam\steamapps\common\iracing\d3dgear;C:\Go\bin;c:\gcc\bin;C:\anaconda3\condabin;;;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Administrator\go\bin;C:\Users\Administrator\AppData\Local\Programs\oh-my-posh\bin PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL POSH_AZURE_ENABLED=False POSH_CURSOR_COLUMN=1 POSH_CURSOR_LINE=30 POSH_GIT_ENABLED=False POSH_INSTALLER=winget POSH_PID=7320 POSH_SHELL_VERSION=5.1.22621.2506 POSH_THEME=C:\Users\Administrator\AppData\Local\oh-my-posh\config.aHR0cHM6Ly9naXRodWIuY29tL0phbkRlRG9iYmVsZWVyL29oLW15LXBvc2gvYmxvYi9tYWluL3RoZW1lcy9hZ25vc3Rlci5vbXAuanNvbg==.omp.json POSH_THEMES_PATH=C:\Users\Administrator\AppData\Local\Programs\oh-my-posh\themes POWERLINE_COMMAND=oh-my-posh PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 158 Stepping 10, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=9e0a ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PSModulePath=C:\Users\Administrator\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules PUBLIC=C:\Users\Public SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\Windows TEMP=C:\Users\ADMINI~1\AppData\Local\Temp TMP=C:\Users\ADMINI~1\AppData\Local\Temp TTPLARLicense=gpMUtZg2PECdcz1oVAcPR8UGrHd2W1Bcbib+ob33dB1cduiHmZJFSoWROZWsq5IHorip0pbyVfRD3kHgXFkdvw== USERDOMAIN=WIN-61956BA54F2 USERDOMAIN_ROAMINGPROFILE=WIN-61956BA54F2 USERNAME=Carlos USERPROFILE=C:\Users\Administrator windir=C:\Windows WSLENV=WT_SESSION:WT_PROFILE_ID: WT_PROFILE_ID={61c54bbd-c2c6-5271-96e7-009a87ff44bf} WT_SESSION=f344a2d1-a312-464d-b607-44a14cc66e67]
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[DEBUG] 15:43:56.951 shell.go:Pwd:429 → C:\Users\Administrator
[TRACE] 15:43:56.951 shell.go:Pwd() - 0s
[DEBUG] 15:43:56.951 shell_windows.go:56 → C:\Users\Administrator
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[TRACE] 15:43:56.951 shell.go:GOOS() - 0s
[DEBUG] 15:43:56.951 shell.go:User:564 → Carlos
[TRACE] 15:43:56.951 shell.go:User() - 0s
[DEBUG] 15:43:56.952 shell.go:Host:576 → WIN-61956BA54F2
[TRACE] 15:43:56.952 shell.go:Host() - 549.6µs
[TRACE] 15:43:56.952 shell.go:GOOS() - 0s
[DEBUG] 15:43:56.952 shell.go:Getenv:399 → NO DATA
[TRACE] 15:43:56.952 shell.go:Getenv(SHLVL) - 0s
[TRACE] 15:43:56.952 shell.go:TemplateCache() - 549.6µs
[DEBUG] 15:43:56.952 shell.go:Getenv:399 → 30
[TRACE] 15:43:56.952 shell.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 15:43:56.952 shell.go:Getenv:399 → 1
[TRACE] 15:43:56.952 shell.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 15:43:56.952 shell.go:Flags() - 0s
[TRACE] 15:43:56.952 shell.go:Flags() - 0s
[TRACE] 15:43:56.952 shell.go:Shell() - 0s
[TRACE] 15:43:56.952 shell.go:Shell() - 0s
[TRACE] 15:43:56.952 shell.go:Flags() - 0s
[DEBUG] 15:43:56.952 properties.go:GetString:28 → {{ .Code }}
[TRACE] 15:43:56.952 shell.go:Pwd() - 0s
[DEBUG] 15:43:56.952 shell_windows.go:56 → C:\Users\Administrator
[TRACE] 15:43:56.952 shell.go:GOOS() - 0s
[DEBUG] 15:43:56.952 segment.go:SetEnabled:512 → Segment: Status
[TRACE] 15:43:56.952 shell.go:Flags() - 0s
[TRACE] 15:43:56.952 shell.go:StatusCodes() - 0s
[DEBUG] 15:43:56.952 text.go:Render:70 → Rendering template: {{ .Code }}
[TRACE] 15:43:56.952 shell.go:Pwd() - 0s
[DEBUG] 15:43:56.952 shell_windows.go:56 → C:\Users\Administrator
[TRACE] 15:43:56.952 shell.go:GOOS() - 0s
[DEBUG] 15:43:56.952 segment.go:SetEnabled:512 → Segment: Path
[TRACE] 15:43:56.952 shell.go:Flags() - 0s
[TRACE] 15:43:56.952 shell.go:Pwd() - 0s
[TRACE] 15:43:56.952 shell.go:Shell() - 0s
[TRACE] 15:43:56.952 shell.go:Shell() - 0s
[TRACE] 15:43:56.952 shell.go:Flags() - 0s
[TRACE] 15:43:56.952 shell.go:Pwd() - 0s
[DEBUG] 15:43:56.952 shell_windows.go:56 → C:\Users\Administrator
[TRACE] 15:43:56.952 shell.go:GOOS() - 0s
[DEBUG] 15:43:56.952 segment.go:SetEnabled:512 → Segment: Session
[TRACE] 15:43:56.952 shell.go:Flags() - 0s
[TRACE] 15:43:56.952 shell.go:Pwd() - 0s
[DEBUG] 15:43:56.952 shell_windows.go:56 → C:\Users\Administrator
[TRACE] 15:43:56.952 shell.go:GOOS() - 0s
[DEBUG] 15:43:56.952 segment.go:SetEnabled:512 → Segment: Git
[TRACE] 15:43:56.952 shell.go:GOOS() - 0s
[DEBUG] 15:43:56.952 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 15:43:56.952 properties.go:GetString:28 → 
[DEBUG] 15:43:56.952 properties.go:GetString:28 → 
[DEBUG] 15:43:56.952 shell_windows.go:56 → C:\Users\Administrator
[TRACE] 15:43:56.952 shell.go:GOOS() - 0s
[TRACE] 15:43:56.952 shell.go:GOOS() - 0s
[DEBUG] 15:43:56.952 shell.go:Getenv:399 → NO DATA
[TRACE] 15:43:56.952 shell.go:Getenv(SSH_CONNECTION) - 546.7µs
[DEBUG] 15:43:56.952 properties.go:GetString:28 → ~
[DEBUG] 15:43:56.952 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 15:43:56.952 shell.go:PathSeparator() - 0s
[DEBUG] 15:43:56.952 shell.go:Getenv:399 → NO DATA
[TRACE] 15:43:56.952 shell.go:Getenv(SSH_CLIENT) - 0s
[TRACE] 15:43:56.952 shell.go:TemplateCache() - 0s
[TRACE] 15:43:56.953 shell.go:GOOS() - 0s
[TRACE] 15:43:56.953 shell.go:GOOS() - 0s
[TRACE] 15:43:56.953 shell.go:GOOS() - 0s
[TRACE] 15:43:56.953 shell.go:Flags() - 0s
[TRACE] 15:43:56.953 shell.go:GOOS() - 0s
[TRACE] 15:43:56.953 shell.go:GOOS() - 0s
[TRACE] 15:43:56.953 shell.go:Pwd() - 0s
[TRACE] 15:43:56.953 shell.go:GOOS() - 0s
[TRACE] 15:43:56.953 shell.go:GOOS() - 0s
[TRACE] 15:43:56.953 shell.go:PathSeparator() - 0s
[TRACE] 15:43:56.953 shell.go:PathSeparator() - 0s
[TRACE] 15:43:56.953 shell.go:GOOS() - 0s
[TRACE] 15:43:56.953 shell.go:GOOS() - 0s
[DEBUG] 15:43:56.953 segment.go:SetEnabled:512 → Segment: Root
[TRACE] 15:43:56.953 shell.go:GOOS() - 0s
[TRACE] 15:43:56.953 shell.go:GOOS() - 0s
[TRACE] 15:43:56.953 shell.go:PathSeparator() - 0s
[TRACE] 15:43:56.953 shell.go:GOOS() - 0s
[TRACE] 15:43:56.953 shell.go:GOOS() - 0s
[TRACE] 15:43:56.953 shell.go:GOOS() - 0s
[TRACE] 15:43:56.953 shell.go:PathSeparator() - 0s
[TRACE] 15:43:56.953 shell.go:GOOS() - 0s
[TRACE] 15:43:56.953 shell.go:GOOS() - 0s
[TRACE] 15:43:56.953 shell.go:GOOS() - 0s
[TRACE] 15:43:56.953 shell_windows.go:Root() - 0s
[TRACE] 15:43:56.953 shell.go:PathSeparator() - 0s
[TRACE] 15:43:56.953 shell.go:TemplateCache() - 0s
[TRACE] 15:43:56.953 shell.go:Pwd() - 0s
[TRACE] 15:43:56.953 shell_windows.go:IsWsl() - 0s
[TRACE] 15:43:56.953 shell.go:StackCount() - 0s
[TRACE] 15:43:56.953 shell.go:TemplateCache() - 0s
[DEBUG] 15:43:56.953 properties.go:GetBool:22 → always_enabled: true
[TRACE] 15:43:56.953 shell.go:TemplateCache() - 0s
[DEBUG] 15:43:56.953 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 15:43:56.953 win32_windows.go:isWriteable:303 → current user is member of S-1-5-32-544
[DEBUG] 15:43:56.953 win32_windows.go:isWriteable:311 ↓
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 15:43:56.953 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 15:43:56.953 shell_windows.go:DirIsWritable() - 503.9µs
[TRACE] 15:43:56.953 shell.go:TemplateCache() - 0s
[DEBUG] 15:43:56.957 shell.go:CommandPath:615 → C:\Program Files\Git\cmd\git.exe
[TRACE] 15:43:56.957 shell.go:CommandPath(git.exe) - 4.9177ms
[TRACE] 15:43:56.957 shell.go:HasCommand(git.exe) - 4.9721ms
[TRACE] 15:43:56.957 shell.go:Pwd() - 0s
[ERROR] 15:43:56.957 shell.go:HasParentFilePath:758 → CreateFile .git: The system cannot find the file specified.
[TRACE] 15:43:56.957 shell.go:HasParentFilePath(.git) - 0s
[DEBUG] 15:43:56.957 properties.go:GetBool:22 → fetch_bare_info: false
[DEBUG] 15:43:56.957 text.go:Render:70 → Rendering template:  CONFIG ERROR
[TRACE] 15:43:56.957 shell.go:Shell() - 0s
[DEBUG] 15:43:56.957 text.go:Render:70 → Rendering template:  {{ if .SSHSession }} {{ end }}{{ .UserName }}
[DEBUG] 15:43:56.957 text.go:Render:70 → Rendering template:   {{ path .Path .Location }}
[DEBUG] 15:43:56.957 text.go:Render:70 → Rendering template:  
[TRACE] 15:43:56.957 shell.go:Shell() - 0s
[TRACE] 15:43:56.957 shell.go:TemplateCache() - 0s
[TRACE] 15:43:56.957 shell.go:TemplateCache() - 0s
[TRACE] 15:43:56.957 shell.go:Shell() - 0s
[TRACE] 15:43:56.957 shell.go:Shell() - 0s
[DEBUG] 15:43:56.957 text.go:Render:70 → Rendering template: diamond
[DEBUG] 15:43:56.957 text.go:Render:70 → Rendering template: powerline
[DEBUG] 15:43:56.957 text.go:Render:70 → Rendering template: powerline
[DEBUG] 15:43:56.957 text.go:Render:70 → Rendering template: powerline
[DEBUG] 15:43:56.957 text.go:Render:70 → Rendering template: p:red
[DEBUG] 15:43:56.957 text.go:Render:70 → Rendering template: diamond
[TRACE] 15:43:56.957 shell.go:Shell() - 0s
[TRACE] 15:43:56.957 shell.go:Shell() - 0s
[TRACE] 15:43:56.957 shell.go:Shell() - 0s
[TRACE] 15:43:56.957 shell.go:Shell() - 0s
[TRACE] 15:43:56.957 shell.go:Flags() - 0s
[TRACE] 15:43:56.957 shell.go:Pwd() - 0s
[DEBUG] 15:43:56.957 shell_windows.go:56 → C:\Users\Administrator
[TRACE] 15:43:56.957 shell.go:GOOS() - 0s
[DEBUG] 15:43:56.957 segment.go:SetEnabled:512 → Segment: Time
[DEBUG] 15:43:56.957 properties.go:GetString:28 → 15:04:05
[TRACE] 15:43:56.957 shell.go:TemplateCache() - 0s
[TRACE] 15:43:56.957 shell.go:Flags() - 0s
[TRACE] 15:43:56.957 shell.go:Flags() - 0s
[DEBUG] 15:43:56.957 properties.go:GetString:28 → files
[TRACE] 15:43:56.957 shell.go:Pwd() - 0s
[DEBUG] 15:43:56.957 shell_windows.go:56 → C:\Users\Administrator
[TRACE] 15:43:56.957 shell.go:GOOS() - 0s
[DEBUG] 15:43:56.957 segment.go:SetEnabled:512 → Segment: Python
[TRACE] 15:43:56.957 shell.go:Pwd() - 0s
[DEBUG] 15:43:56.957 shell_windows.go:56 → C:\Users\Administrator
[DEBUG] 15:43:56.957 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[TRACE] 15:43:56.957 shell.go:GOOS() - 0s
[DEBUG] 15:43:56.957 segment.go:SetEnabled:512 → Segment: Go
[DEBUG] 15:43:56.957 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv venv-win pyenv-win]
[DEBUG] 15:43:56.957 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 15:43:56.957 properties.go:GetStringArray:52 → extensions: [*.go go.mod]
[TRACE] 15:43:56.957 shell.go:Pwd() - 0s
[DEBUG] 15:43:56.957 properties.go:GetStringArray:52 → folders: []
[TRACE] 15:43:56.957 shell.go:Flags() - 0s
[DEBUG] 15:43:56.957 shell_windows.go:56 → C:\Users\Administrator
[DEBUG] 15:43:56.957 properties.go:GetBool:22 → home_enabled: false
[TRACE] 15:43:56.957 shell.go:Pwd() - 0s
[DEBUG] 15:43:56.957 shell_windows.go:56 → C:\Users\Administrator
[TRACE] 15:43:56.957 shell.go:Flags() - 0s
[TRACE] 15:43:56.957 shell.go:Pwd() - 0s
[DEBUG] 15:43:56.957 shell_windows.go:56 → C:\Users\Administrator
[TRACE] 15:43:56.957 shell.go:GOOS() - 0s
[DEBUG] 15:43:56.957 segment.go:SetEnabled:512 → Segment: Node
[TRACE] 15:43:56.957 shell.go:Pwd() - 0s
[DEBUG] 15:43:56.957 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .npmrc .vue]
[DEBUG] 15:43:56.957 properties.go:GetStringArray:52 → folders: []
[DEBUG] 15:43:56.957 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 15:43:56.957 shell_windows.go:56 → C:\Users\Administrator
[TRACE] 15:43:56.957 shell.go:Pwd() - 0s
[TRACE] 15:43:56.957 shell.go:GOOS() - 0s
[DEBUG] 15:43:56.957 shell_windows.go:56 → C:\Users\Administrator
[DEBUG] 15:43:56.957 segment.go:SetEnabled:512 → Segment: Shell
[DEBUG] 15:43:56.957 properties.go:GetKeyValueMap:46 → mapped_shell_names: map[]
[TRACE] 15:43:56.957 shell.go:Shell() - 0s
[TRACE] 15:43:56.957 shell.go:Flags() - 0s
[TRACE] 15:43:56.957 shell.go:TemplateCache() - 0s
[DEBUG] 15:43:56.957 text.go:Render:70 → Rendering template: at <p:blue><b>{{ .CurrentDate | date "15:04:05" }}</b></>
[DEBUG] 15:43:56.957 text.go:Render:70 → Rendering template: in <p:blue><b>{{ .Name }}</b></>
[TRACE] 15:43:56.958 shell.go:TemplateCache() - 0s
[TRACE] 15:43:56.958 shell.go:Shell() - 0s
[TRACE] 15:43:56.958 shell.go:TemplateCache() - 0s
[TRACE] 15:43:56.958 shell.go:Shell() - 0s
[DEBUG] 15:43:56.958 text.go:Render:70 → Rendering template: plain
[DEBUG] 15:43:56.958 text.go:Render:70 → Rendering template: plain
[DEBUG] 15:43:56.958 text.go:Render:70 → Rendering template: plain
[DEBUG] 15:43:56.958 text.go:Render:70 → Rendering template: plain
[DEBUG] 15:43:56.958 text.go:Render:70 → Rendering template: plain
[TRACE] 15:43:56.958 shell.go:Shell() - 0s
[TRACE] 15:43:56.958 shell.go:Shell() - 0s
[TRACE] 15:43:56.958 shell.go:Flags() - 0s
[TRACE] 15:43:56.958 shell.go:Shell() - 0s
[TRACE] 15:43:56.958 shell.go:Shell() - 0s
[DEBUG] 15:43:56.958 shell_windows.go:TerminalWidth:109 → terminal width: 120
[TRACE] 15:43:56.958 shell_windows.go:TerminalWidth() - 0s
[DEBUG] 15:43:56.958 shell.go:Getenv:399 → C:\Users\Administrator\AppData\Local
[TRACE] 15:43:56.958 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 15:43:56.958 shell_windows.go:CachePath() - 0s
[TRACE] 15:43:56.958 shell.go:Flags() - 0s
comments:671:16: literal not terminated
comments:671:16: invalid char literal
comments:694:280: literal not terminated
comments:699:100: literal not terminated
comments:703:190: literal not terminated
comments:707:380: literal not terminated
comments:796:31: literal not terminated
comments:799:19: literal not terminated
comments:845:73: literal not terminated
comments:845:73: invalid char literal
comments:880:14: literal not terminated
comments:880:14: invalid char literal
comments:1371:13: invalid char literal
 Carlos   ~    CONFIG ERROR                                                                 in pwsh at 15:43:57
JanDeDobbeleer commented 10 months ago

@cccarv82 it says so in the debug logs:

[ERROR] 15:43:56.951 config.go:loadConfig:160 → expected { character for map value

Something is incorrect in the config file.