JanDeDobbeleer / oh-my-posh

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

Cannot configure powershell to use Oh My Posh when unicode character is in $USERPROFILE #4455

Closed Alzakath closed 11 months ago

Alzakath commented 11 months ago

Code of Conduct

What happened?

Using notepad $PROFILE I added oh-my-posh init pwsh | Invoke-Expression to my powershell profile script unfortunately my USER home PATH contains unicode characters (i.e. C:\Users\Hervé Coatanhay).

When I start Windows Terminal with my powershell I encouter the following error:

&: The term 'C:/Users/Herv├® Coatanhay/AppData/Local/Programs/oh-my-posh/bin/oh-my-posh.exe' 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. Invoke-Expression: Cannot bind argument to parameter 'Command' because it is an empty string.

Theme

default theme:

blocked at "configure your chelle" step from Documentation

What OS are you seeing the problem on?

No response

Which shell are you using?

No response

Log output

PS C:\Users\Hervé Coatanhay> oh-my-posh debug --plain

Version: 18.25.0

Shell: pwsh

Prompt:

 Hervé Coatanhay   ~                                                                         in pwsh at 22:42:53
Segments:

ConsoleTitle(true)                        -   0 ms
Session(true)                             -   0 ms
Path(true)                                -   1 ms
Git(false)                                -   3 ms
Root(false)                               -   0 ms
Exit(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: 11.001ms

Cache path: C:\Users\Hervé Coatanhay\AppData\Local\oh-my-posh

Config path: no --config set, using default built-in configuration

Logs:

[DEBUG] 22:42:53.278 shell.go:Getenv:392 → NO DATA
[TRACE] 22:42:53.278 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 22:42:53.278 shell.go:Getenv:392 → C:\Users\Hervé Coatanhay\AppData\Local
[TRACE] 22:42:53.278 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 22:42:53.278 shell_windows.go:CachePath() - 0s
[DEBUG] 22:42:53.278 shell.go:Getenv:392 → NO DATA
[TRACE] 22:42:53.278 shell.go:Getenv(POSH_THEME) - 0s
[DEBUG] 22:42:53.278 shell.go:resolveConfigPath:318 → No config set, fallback to default config
[TRACE] 22:42:53.278 shell.go:resolveConfigPath() - 0s
[TRACE] 22:42:53.278 shell.go:Init() - 0s
[TRACE] 22:42:53.278 shell.go:Flags() - 0s
[DEBUG] 22:42:53.278 config.go:loadConfig:129 → no config file specified, using default
[TRACE] 22:42:53.278 config.go:loadConfig() - 0s
[TRACE] 22:42:53.278 shell.go:Flags() - 0s
[DEBUG] 22:42:53.278 shell.go:Getenv:392 → NO DATA
[TRACE] 22:42:53.278 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 22:42:53.278 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 22:42:53.278 shell.go:GOOS() - 0s
[TRACE] 22:42:53.278 shell.go:GOOS() - 0s
[TRACE] 22:42:53.278 shell.go:GOOS() - 0s
[TRACE] 22:42:53.278 shell.go:GOOS() - 0s
[TRACE] 22:42:53.278 shell.go:GOOS() - 0s
[TRACE] 22:42:53.278 shell.go:GOOS() - 0s
[TRACE] 22:42:53.278 shell.go:GOOS() - 0s
[TRACE] 22:42:53.278 shell.go:GOOS() - 0s
[TRACE] 22:42:53.278 shell.go:GOOS() - 0s
[TRACE] 22:42:53.278 shell.go:GOOS() - 0s
[TRACE] 22:42:53.278 shell.go:GOOS() - 0s
[TRACE] 22:42:53.278 shell.go:GOOS() - 0s
[TRACE] 22:42:53.278 shell.go:GOOS() - 0s
[TRACE] 22:42:53.278 shell.go:GOOS() - 0s
[TRACE] 22:42:53.278 shell.go:GOOS() - 0s
[TRACE] 22:42:53.278 shell.go:GOOS() - 0s
[TRACE] 22:42:53.278 shell.go:GOOS() - 0s
[TRACE] 22:42:53.278 shell.go:GOOS() - 0s
[TRACE] 22:42:53.278 shell.go:GOOS() - 0s
[DEBUG] 22:42:53.278 shell_windows.go:WindowsRegistryKeyValue:215 → ColorizationColor(DWORD): 0xC40078D4
[DEBUG] 22:42:53.278 shell.go:Shell:646 → no shell name provided in flags, trying to detect it
[DEBUG] 22:42:53.282 shell.go:Shell:654 → process name: pwsh.exe
[TRACE] 22:42:53.283 shell.go:Shell() - 4.4995ms
[DEBUG] 22:42:53.283 shell.go:Getenv:392 → NO DATA
[TRACE] 22:42:53.283 shell.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 22:42:53.283 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 22:42:53.283 text.go:Render:70 → Rendering template: {{ .Shell }} in {{ .Folder }}
[TRACE] 22:42:53.283 shell_windows.go:Root() - 0s
[TRACE] 22:42:53.283 shell.go:Shell() - 0s
[TRACE] 22:42:53.283 shell.go:StatusCodes() - 0s
[TRACE] 22:42:53.283 shell_windows.go:IsWsl() - 0s
[DEBUG] 22:42:53.283 shell.go:TemplateCache:827 → environment: [ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\Hervé Coatanhay\AppData\Roaming CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=DARKSIDE ComSpec=C:\WINDOWS\system32\cmd.exe DriverData=C:\Windows\System32\Drivers\DriverData GIT_INSTALL_ROOT=C:\Users\Hervé Coatanhay\scoop\apps\git\current HOMEDRIVE=C: HOMEPATH=\Users\Hervé Coatanhay LOCALAPPDATA=C:\Users\Hervé Coatanhay\AppData\Local LOGONSERVER=\\DARKSIDE NUMBER_OF_PROCESSORS=16 OneDrive=C:\Users\Hervé Coatanhay\OneDrive OneDriveConsumer=C:\Users\Hervé Coatanhay\OneDrive OS=Windows_NT Path=C:\Program Files\PowerShell\7;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\WireGuard\;C:\Program Files\Docker\Docker\resources\bin;C:\Program Files\PowerShell\7\;C:\Users\Hervé Coatanhay\scoop\shims;C:\Users\Hervé Coatanhay\AppData\Local\Microsoft\WindowsApps;;C:\Users\Hervé Coatanhay\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Hervé Coatanhay\AppData\Local\Programs\oh-my-posh\bin PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL POSH_INSTALLER=scoop POSH_THEMES_PATH=C:\Users\Hervé Coatanhay\AppData\Local\Programs\oh-my-posh\themes POWERSHELL_DISTRIBUTION_CHANNEL=MSI:Windows 10 Home PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD PROCESSOR_LEVEL=23 PROCESSOR_REVISION=7100 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PSModulePath=C:\Users\Hervé Coatanhay\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 PUBLIC=C:\Users\Public SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\WINDOWS TEMP=C:\Users\HERVCO~1\AppData\Local\Temp TMP=C:\Users\HERVCO~1\AppData\Local\Temp USERDOMAIN=DARKSIDE USERDOMAIN_ROAMINGPROFILE=DARKSIDE USERNAME=Hervé Coatanhay USERPROFILE=C:\Users\Hervé Coatanhay VBOX_HWVIRTEX_IGNORE_SVM_IN_USE=1 windir=C:\WINDOWS WSLENV=WT_SESSION:WT_PROFILE_ID: WT_PROFILE_ID={574e775e-4f2a-5b96-ac1e-a2962a402336} WT_SESSION=726da769-d587-48b9-b830-3e1467d22a01]
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[DEBUG] 22:42:53.283 shell.go:Pwd:422 → C:\Users\Hervé Coatanhay
[TRACE] 22:42:53.283 shell.go:Pwd() - 0s
[DEBUG] 22:42:53.283 shell_windows.go:56 → C:\Users\Hervé Coatanhay
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[DEBUG] 22:42:53.283 shell.go:User:557 → Hervé Coatanhay
[TRACE] 22:42:53.283 shell.go:User() - 0s
[DEBUG] 22:42:53.283 shell.go:Host:569 → DARKSIDE
[TRACE] 22:42:53.283 shell.go:Host() - 501.2µs
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[DEBUG] 22:42:53.283 shell.go:Getenv:392 → NO DATA
[TRACE] 22:42:53.283 shell.go:Getenv(SHLVL) - 0s
[TRACE] 22:42:53.283 shell.go:TemplateCache() - 501.2µs
[DEBUG] 22:42:53.283 shell.go:Getenv:392 → NO DATA
[TRACE] 22:42:53.283 shell.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 22:42:53.283 shell.go:Getenv:392 → NO DATA
[TRACE] 22:42:53.283 shell.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 22:42:53.283 shell.go:Flags() - 0s
[TRACE] 22:42:53.283 shell.go:Flags() - 0s
[TRACE] 22:42:53.283 shell.go:Shell() - 0s
[TRACE] 22:42:53.283 shell.go:Shell() - 0s
[TRACE] 22:42:53.283 shell.go:Flags() - 0s
[TRACE] 22:42:53.283 shell.go:Flags() - 0s
[TRACE] 22:42:53.283 shell.go:Pwd() - 0s
[DEBUG] 22:42:53.283 shell_windows.go:56 → C:\Users\Hervé Coatanhay
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[DEBUG] 22:42:53.283 segment.go:SetEnabled:512 → Segment: Session
[DEBUG] 22:42:53.283 shell.go:Getenv:392 → NO DATA
[DEBUG] 22:42:53.283 properties.go:GetString:28 → {{ .Code }}
[TRACE] 22:42:53.283 shell.go:Flags() - 0s
[TRACE] 22:42:53.283 shell.go:Getenv(SSH_CONNECTION) - 0s
[TRACE] 22:42:53.283 shell.go:Pwd() - 0s
[DEBUG] 22:42:53.283 shell.go:Getenv:392 → NO DATA
[TRACE] 22:42:53.283 shell.go:Getenv(SSH_CLIENT) - 0s
[DEBUG] 22:42:53.283 shell_windows.go:56 → C:\Users\Hervé Coatanhay
[TRACE] 22:42:53.283 shell.go:TemplateCache() - 0s
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[DEBUG] 22:42:53.283 segment.go:SetEnabled:512 → Segment: Exit
[TRACE] 22:42:53.283 shell.go:Flags() - 0s
[TRACE] 22:42:53.283 shell.go:StatusCodes() - 0s
[TRACE] 22:42:53.283 shell.go:Pwd() - 0s
[TRACE] 22:42:53.283 shell.go:Pwd() - 0s
[DEBUG] 22:42:53.283 text.go:Render:70 → Rendering template: {{ .Code }}
[DEBUG] 22:42:53.283 shell_windows.go:56 → C:\Users\Hervé Coatanhay
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[DEBUG] 22:42:53.283 segment.go:SetEnabled:512 → Segment: Path
[DEBUG] 22:42:53.283 shell_windows.go:56 → C:\Users\Hervé Coatanhay
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[TRACE] 22:42:53.283 shell.go:Shell() - 0s
[DEBUG] 22:42:53.283 segment.go:SetEnabled:512 → Segment: Git
[TRACE] 22:42:53.283 shell.go:Flags() - 0s
[DEBUG] 22:42:53.283 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 22:42:53.283 properties.go:GetString:28 → 
[DEBUG] 22:42:53.283 properties.go:GetString:28 → 
[DEBUG] 22:42:53.283 shell_windows.go:56 → C:\Users\Hervé Coatanhay
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[DEBUG] 22:42:53.283 properties.go:GetString:28 → ~
[DEBUG] 22:42:53.283 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 22:42:53.283 shell.go:PathSeparator() - 0s
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[TRACE] 22:42:53.283 shell.go:GOOS() - 0s
[TRACE] 22:42:53.284 shell.go:Flags() - 0s
[TRACE] 22:42:53.284 shell.go:Pwd() - 0s
[TRACE] 22:42:53.284 shell.go:GOOS() - 0s
[DEBUG] 22:42:53.284 shell_windows.go:56 → C:\Users\Hervé Coatanhay
[TRACE] 22:42:53.284 shell.go:GOOS() - 0s
[DEBUG] 22:42:53.284 segment.go:SetEnabled:512 → Segment: Root
[TRACE] 22:42:53.284 shell_windows.go:Root() - 0s
[TRACE] 22:42:53.284 shell.go:GOOS() - 0s
[TRACE] 22:42:53.284 shell.go:GOOS() - 0s
[TRACE] 22:42:53.284 shell.go:GOOS() - 0s
[TRACE] 22:42:53.284 shell.go:GOOS() - 0s
[TRACE] 22:42:53.284 shell.go:GOOS() - 0s
[TRACE] 22:42:53.284 shell.go:PathSeparator() - 0s
[TRACE] 22:42:53.284 shell.go:PathSeparator() - 0s
[TRACE] 22:42:53.284 shell.go:GOOS() - 0s
[TRACE] 22:42:53.284 shell.go:GOOS() - 0s
[TRACE] 22:42:53.284 shell.go:GOOS() - 0s
[TRACE] 22:42:53.284 shell.go:PathSeparator() - 0s
[TRACE] 22:42:53.284 shell.go:GOOS() - 0s
[TRACE] 22:42:53.284 shell.go:GOOS() - 0s
[TRACE] 22:42:53.284 shell.go:GOOS() - 0s
[TRACE] 22:42:53.284 shell.go:PathSeparator() - 0s
[TRACE] 22:42:53.284 shell.go:GOOS() - 0s
[TRACE] 22:42:53.284 shell.go:GOOS() - 0s
[TRACE] 22:42:53.284 shell.go:GOOS() - 0s
[TRACE] 22:42:53.284 shell.go:PathSeparator() - 0s
[TRACE] 22:42:53.284 shell.go:Pwd() - 0s
[TRACE] 22:42:53.284 shell_windows.go:IsWsl() - 0s
[TRACE] 22:42:53.284 shell.go:StackCount() - 0s
[TRACE] 22:42:53.285 shell.go:TemplateCache() - 0s
[DEBUG] 22:42:53.285 properties.go:GetBool:22 → always_enabled: true
[TRACE] 22:42:53.285 shell.go:TemplateCache() - 0s
[DEBUG] 22:42:53.285 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 22:42:53.285 win32_windows.go:isWriteable:303 → current user is member of S-1-5-32-544
[DEBUG] 22:42:53.285 win32_windows.go:isWriteable:311 ↓
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 22:42:53.285 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 22:42:53.285 shell_windows.go:DirIsWritable() - 496.7µs
[TRACE] 22:42:53.285 shell.go:TemplateCache() - 0s
[DEBUG] 22:42:53.287 shell.go:CommandPath:608 → C:\Users\Hervé Coatanhay\scoop\shims\git.exe
[TRACE] 22:42:53.287 shell.go:CommandPath(git.exe) - 3.499ms
[TRACE] 22:42:53.287 shell.go:HasCommand(git.exe) - 3.499ms
[TRACE] 22:42:53.287 shell.go:Pwd() - 0s
[ERROR] 22:42:53.287 shell.go:HasParentFilePath:742 → CreateFile .git: The system cannot find the file specified.
[TRACE] 22:42:53.287 shell.go:HasParentFilePath(.git) - 0s
[DEBUG] 22:42:53.287 properties.go:GetBool:22 → fetch_bare_info: false
[DEBUG] 22:42:53.287 text.go:Render:70 → Rendering template:  {{ if gt .Code 0 }}{{ else }}{{ end }}
[DEBUG] 22:42:53.287 text.go:Render:70 → Rendering template:  {{ if .SSHSession }} {{ end }}{{ .UserName }}
[DEBUG] 22:42:53.287 text.go:Render:70 → Rendering template:   {{ path .Path .Location }}
[TRACE] 22:42:53.288 shell.go:TemplateCache() - 0s
[TRACE] 22:42:53.288 shell.go:TemplateCache() - 0s
[TRACE] 22:42:53.288 shell.go:TemplateCache() - 0s
[TRACE] 22:42:53.288 shell.go:Shell() - 0s
[TRACE] 22:42:53.288 shell.go:Shell() - 0s
[TRACE] 22:42:53.288 shell.go:Shell() - 0s
[DEBUG] 22:42:53.288 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:42:53.288 text.go:Render:70 → Rendering template: powerline
[DEBUG] 22:42:53.288 text.go:Render:70 → Rendering template: powerline
[DEBUG] 22:42:53.288 text.go:Render:70 → Rendering template: powerline
[DEBUG] 22:42:53.288 text.go:Render:70 → Rendering template: {{ if gt .Code 0 }}p:red{{ end }}
[TRACE] 22:42:53.288 shell.go:TemplateCache() - 0s
[DEBUG] 22:42:53.288 text.go:Render:70 → Rendering template: diamond
[TRACE] 22:42:53.288 shell.go:Shell() - 0s
[TRACE] 22:42:53.288 shell.go:Shell() - 0s
[TRACE] 22:42:53.288 shell.go:Shell() - 0s
[TRACE] 22:42:53.288 shell.go:Flags() - 0s
[TRACE] 22:42:53.288 shell.go:Pwd() - 0s
[TRACE] 22:42:53.288 shell.go:Flags() - 0s
[DEBUG] 22:42:53.288 shell_windows.go:56 → C:\Users\Hervé Coatanhay
[TRACE] 22:42:53.288 shell.go:GOOS() - 0s
[DEBUG] 22:42:53.288 segment.go:SetEnabled:512 → Segment: Time
[DEBUG] 22:42:53.288 properties.go:GetString:28 → 15:04:05
[TRACE] 22:42:53.288 shell.go:Flags() - 0s
[TRACE] 22:42:53.288 shell.go:TemplateCache() - 0s
[TRACE] 22:42:53.288 shell.go:Pwd() - 0s
[TRACE] 22:42:53.288 shell.go:Flags() - 0s
[DEBUG] 22:42:53.288 shell_windows.go:56 → C:\Users\Hervé Coatanhay
[TRACE] 22:42:53.288 shell.go:Pwd() - 0s
[TRACE] 22:42:53.288 shell.go:GOOS() - 0s
[TRACE] 22:42:53.288 shell.go:Pwd() - 0s
[DEBUG] 22:42:53.288 shell_windows.go:56 → C:\Users\Hervé Coatanhay
[TRACE] 22:42:53.288 shell.go:Flags() - 0s
[DEBUG] 22:42:53.288 segment.go:SetEnabled:512 → Segment: Go
[TRACE] 22:42:53.288 shell.go:GOOS() - 0s
[DEBUG] 22:42:53.288 segment.go:SetEnabled:512 → Segment: Shell
[DEBUG] 22:42:53.288 shell_windows.go:56 → C:\Users\Hervé Coatanhay
[TRACE] 22:42:53.288 shell.go:GOOS() - 0s
[DEBUG] 22:42:53.288 properties.go:GetKeyValueMap:46 → mapped_shell_names: map[]
[DEBUG] 22:42:53.288 segment.go:SetEnabled:512 → Segment: Node
[DEBUG] 22:42:53.288 properties.go:GetString:28 → files
[TRACE] 22:42:53.288 shell.go:Shell() - 0s
[DEBUG] 22:42:53.288 properties.go:GetStringArray:52 → extensions: [*.go go.mod]
[TRACE] 22:42:53.288 shell.go:Pwd() - 0s
[TRACE] 22:42:53.288 shell.go:Flags() - 0s
[DEBUG] 22:42:53.288 properties.go:GetStringArray:52 → folders: []
[TRACE] 22:42:53.288 shell.go:TemplateCache() - 0s
[DEBUG] 22:42:53.288 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 22:42:53.288 shell_windows.go:56 → C:\Users\Hervé Coatanhay
[TRACE] 22:42:53.288 shell.go:GOOS() - 0s
[DEBUG] 22:42:53.288 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .npmrc .vue]
[TRACE] 22:42:53.288 shell.go:Pwd() - 0s
[DEBUG] 22:42:53.288 segment.go:SetEnabled:512 → Segment: Python
[DEBUG] 22:42:53.288 shell_windows.go:56 → C:\Users\Hervé Coatanhay
[DEBUG] 22:42:53.288 properties.go:GetStringArray:52 → folders: []
[DEBUG] 22:42:53.288 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[DEBUG] 22:42:53.288 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv venv-win pyenv-win]
[DEBUG] 22:42:53.288 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 22:42:53.288 properties.go:GetBool:22 → home_enabled: false
[TRACE] 22:42:53.288 shell.go:Pwd() - 0s
[TRACE] 22:42:53.288 shell.go:Pwd() - 0s
[DEBUG] 22:42:53.288 shell_windows.go:56 → C:\Users\Hervé Coatanhay
[DEBUG] 22:42:53.288 shell_windows.go:56 → C:\Users\Hervé Coatanhay
[DEBUG] 22:42:53.288 text.go:Render:70 → Rendering template: in <p:blue><b>{{ .Name }}</b></>
[DEBUG] 22:42:53.288 text.go:Render:70 → Rendering template: at <p:blue><b>{{ .CurrentDate | date "15:04:05" }}</b></>
[TRACE] 22:42:53.288 shell.go:TemplateCache() - 0s
[TRACE] 22:42:53.288 shell.go:Shell() - 0s
[TRACE] 22:42:53.288 shell.go:TemplateCache() - 0s
[TRACE] 22:42:53.289 shell.go:Shell() - 0s
[DEBUG] 22:42:53.289 text.go:Render:70 → Rendering template: plain
[DEBUG] 22:42:53.289 text.go:Render:70 → Rendering template: plain
[DEBUG] 22:42:53.289 text.go:Render:70 → Rendering template: plain
[DEBUG] 22:42:53.289 text.go:Render:70 → Rendering template: plain
[DEBUG] 22:42:53.289 text.go:Render:70 → Rendering template: plain
[TRACE] 22:42:53.289 shell.go:Shell() - 0s
[TRACE] 22:42:53.289 shell.go:Flags() - 0s
[TRACE] 22:42:53.289 shell.go:Shell() - 0s
[TRACE] 22:42:53.289 shell.go:Shell() - 0s
[DEBUG] 22:42:53.289 shell_windows.go:TerminalWidth:109 → terminal width: 120
[TRACE] 22:42:53.289 shell_windows.go:TerminalWidth() - 0s
[DEBUG] 22:42:53.289 shell.go:Getenv:392 → C:\Users\Hervé Coatanhay\AppData\Local
[TRACE] 22:42:53.289 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 22:42:53.289 shell_windows.go:CachePath() - 500.2µs
[TRACE] 22:42:53.289 shell.go:Flags() - 0s
PS C:\Users\Hervé Coatanhay>
JanDeDobbeleer commented 11 months ago

@Alzakath see here. Maybe one day when PowerShell is UTF8 this is no longer an issue.

elvisisvan commented 6 months ago

you should not have you user name folder as "Herv├® Coatanhay" , terminal interface does not do well with folders have names contain spaces, not to mention special characters lol, try "Herv" or "HC"

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