JanDeDobbeleer / oh-my-posh

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

Parameter issue with Get-PSReadLineKeyHandler #5759

Closed imar-io closed 1 month ago

imar-io commented 1 month ago

Code of Conduct

What happened?

If I run the init commad I get the following issues displayed:

image

Theme

dracula.omp.json

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

Version: 23.20.2

Shell: powershell (5.1.22621.4249)

Prompt:

Mario  ~  ♥ 23:37 

Segments:

ConsoleTitle(false)                       -   0 ms
Session(true)                             -   2 ms
Path(true)                                -   3 ms
Time(true)                                -   2 ms
Aws(false)                                -   1 ms

Run duration: 75.1857ms

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

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

Logs:

[DEBUG] 23:37:14.143 debug.go:49 → debug mode enabled
[DEBUG] 23:37:14.194 debug.go:49 → plain mode enabled
[DEBUG] 23:37:14.196 terminal.go:Getenv:164 → C:\Users\Mario\AppData\Local
[TRACE] 23:37:14.196 terminal.go:Getenv(LOCALAPPDATA) - 1.6135ms
[TRACE] 23:37:14.196 terminal.go:CachePath() - 1.6135ms
[DEBUG] 23:37:14.196 terminal.go:70 → loading cache file: C:\Users\Mario\AppData\Local\oh-my-posh\omp.cache
[DEBUG] 23:37:14.196 terminal.go:70 → loading cache key: upgrade_check
[TRACE] 23:37:14.196 terminal.go(C:\Users\Mario\AppData\Local\oh-my-posh\omp.cache) - 0s
[DEBUG] 23:37:14.196 terminal.go:Getenv:164 → C:\Users\Mario\AppData\Local
[TRACE] 23:37:14.196 terminal.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 23:37:14.196 terminal.go:CachePath() - 524.9µs
[DEBUG] 23:37:14.196 terminal.go:70 → loading cache file: C:\Users\Mario\AppData\Local\oh-my-posh\omp.cache.4455d0c0-8cd2-480e-a76b-d28a3c63b85b
[DEBUG] 23:37:14.196 terminal.go:70 → loading cache key: prompt_count_cache
[TRACE] 23:37:14.196 terminal.go(C:\Users\Mario\AppData\Local\oh-my-posh\omp.cache.4455d0c0-8cd2-480e-a76b-d28a3c63b85b) - 0s
[TRACE] 23:37:14.196 terminal.go:setPromptCount() - 0s
[DEBUG] 23:37:14.196 terminal.go:Getenv:164 → C:\Users\Mario\AppData\Local\Programs\oh-my-posh\themes\dracula.omp.json
[TRACE] 23:37:14.196 terminal.go:Getenv(POSH_THEME) - 0s
[DEBUG] 23:37:14.196 terminal.go:ResolveConfigPath:96 → config set using POSH_THEME: C:\Users\Mario\AppData\Local\Programs\oh-my-posh\themes\dracula.omp.json
[TRACE] 23:37:14.196 terminal.go:ResolveConfigPath() - 0s
[TRACE] 23:37:14.196 terminal.go:Init() - 62.7407ms
[TRACE] 23:37:14.196 terminal.go:Flags() - 0s
[TRACE] 23:37:14.199 load.go:loadConfig() - 1.7428ms
[TRACE] 23:37:14.199 terminal.go:Flags() - 0s
[DEBUG] 23:37:14.199 debug.go:57 → terminal program: Windows Terminal
[DEBUG] 23:37:14.199 debug.go:57 → terminal shell: shell
[DEBUG] 23:37:14.199 terminal.go:Getenv:164 → NO DATA
[TRACE] 23:37:14.199 terminal.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 23:37:14.199 terminal_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 23:37:14.199 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.199 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.199 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.199 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.199 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.199 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.199 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.199 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.199 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.199 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.199 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.199 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.199 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.199 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.199 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.199 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.199 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.199 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.199 terminal.go:GOOS() - 0s
[DEBUG] 23:37:14.199 terminal_windows.go:WindowsRegistryKeyValue:215 → ColorizationColor(DWORD): 0xC40078D4
[TRACE] 23:37:14.200 colors_windows.go:GetAccentColor() - 508µs
[TRACE] 23:37:14.200 colors.go:SetAccentColor() - 1.5444ms
[TRACE] 23:37:14.201 terminal.go:Shell() - 0s
[DEBUG] 23:37:14.201 terminal.go:Getenv:164 → 5.1.22621.4249
[TRACE] 23:37:14.201 terminal.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 23:37:14.202 debug.go:PrintDebug:23 → segment: Title
[DEBUG] 23:37:14.202 text.go:Render:80 → rendering template:
[TRACE] 23:37:14.202 terminal.go:Flags() - 0s
[TRACE] 23:37:14.202 terminal.go:Shell() - 0s
[DEBUG] 23:37:14.202 terminal.go:Getenv:164 → 23
[TRACE] 23:37:14.202 terminal.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 23:37:14.202 terminal.go:Getenv:164 → 1
[TRACE] 23:37:14.202 terminal.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 23:37:14.202 terminal.go:Flags() - 0s
[TRACE] 23:37:14.202 terminal.go:Flags() - 0s
[TRACE] 23:37:14.202 terminal.go:Flags() - 0s
[TRACE] 23:37:14.202 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.202 terminal.go:PathSeparator() - 0s
[TRACE] 23:37:14.202 terminal.go:Flags() - 0s
[TRACE] 23:37:14.202 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.202 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.202 terminal.go:Flags() - 0s
[TRACE] 23:37:14.203 terminal.go:Flags() - 0s
[TRACE] 23:37:14.203 terminal.go:Flags() - 0s
[DEBUG] 23:37:14.203 terminal.go:Pwd:189 → C:\Users\Mario
[TRACE] 23:37:14.203 terminal.go:Pwd() - 1.4074ms
[DEBUG] 23:37:14.203 terminal_windows.go:58 → C:\Users\Mario
[TRACE] 23:37:14.203 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.203 terminal.go:Pwd() - 0s
[DEBUG] 23:37:14.203 terminal_windows.go:58 → C:\Users\Mario
[TRACE] 23:37:14.203 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.203 terminal.go:Pwd() - 0s
[DEBUG] 23:37:14.203 terminal_windows.go:58 → C:\Users\Mario
[TRACE] 23:37:14.203 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.203 terminal.go:Pwd() - 0s
[DEBUG] 23:37:14.203 terminal_windows.go:58 → C:\Users\Mario
[TRACE] 23:37:14.203 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.203 terminal.go:Pwd() - 0s
[DEBUG] 23:37:14.203 terminal_windows.go:58 → C:\Users\Mario
[TRACE] 23:37:14.203 terminal.go:GOOS() - 0s
[DEBUG] 23:37:14.203 segment.go:SetEnabled:115 → segment: Node
[DEBUG] 23:37:14.203 segment.go:SetEnabled:115 → segment: Time
[DEBUG] 23:37:14.203 segment.go:SetEnabled:115 → segment: Path
[DEBUG] 23:37:14.203 segment.go:SetEnabled:115 → segment: Session
[DEBUG] 23:37:14.203 terminal.go:Getenv:164 → NO DATA
[TRACE] 23:37:14.203 terminal.go:Getenv(SSH_CONNECTION) - 0s
[DEBUG] 23:37:14.203 terminal.go:Getenv:164 → NO DATA
[TRACE] 23:37:14.203 terminal.go:Getenv(SSH_CLIENT) - 0s
[DEBUG] 23:37:14.203 segment.go:SetEnabled:115 → segment: Git
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[DEBUG] 23:37:14.204 terminal.go:Getenv:164 → C:\Users\Mario\AppData\Local
[TRACE] 23:37:14.204 terminal.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 23:37:14.204 terminal_windows.go:Root() - 567.5µs
[TRACE] 23:37:14.204 terminal.go:Shell() - 0s
[TRACE] 23:37:14.204 terminal.go:StatusCodes() - 0s
[TRACE] 23:37:14.204 terminal_windows.go:IsWsl() - 0s
[DEBUG] 23:37:14.204 terminal.go:TemplateCache:673 → environment: [ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\Mario\AppData\Roaming CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=PROBOOK ComSpec=C:\Windows\system32\cmd.exe CONDA_PROMPT_MODIFIER=False DriverData=C:\Windows\System32\Drivers\DriverData HOMEDRIVE=C: HOMEPATH=\Users\Mario IntelliJ IDEA Community Edition=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2023.2\bin; LOCALAPPDATA=C:\Users\Mario\AppData\Local LOGONSERVER=\\PROBOOK NUMBER_OF_PROCESSORS=8 NVM_HOME=C:\Users\Mario\AppData\Roaming\nvm NVM_SYMLINK=C:\Program Files\nodejs OneDrive=C:\Users\Mario\OneDrive OS=Windows_NT Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Git\cmd;%NVM_HOME%;%NVM_SYMLINK%;C:\Users\Mario\AppData\Local\Programs\Python\Python311\Scripts\;C:\Users\Mario\AppData\Local\Programs\Python\Python311\;C:\Users\Mario\AppData\Local\Microsoft\WindowsApps;C:\Users\Mario\AppData\Local\Programs\Microsoft VS Code\bin;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2023.2\bin;;C:\Users\Mario\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Users\Mario\.deno\bin;C:\Users\Mario\AppData\Local\Programs\oh-my-posh\bin PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL POSH_CURSOR_COLUMN=1 POSH_CURSOR_LINE=23 POSH_INSTALLER=winget POSH_SESSION_ID=4455d0c0-8cd2-480e-a76b-d28a3c63b85b POSH_SHELL_VERSION=5.1.22621.4249 POSH_THEME=C:\Users\Mario\AppData\Local\Programs\oh-my-posh\themes\dracula.omp.json POSH_THEMES_PATH=C:\Users\Mario\AppData\Local\Programs\oh-my-posh\themes POWERLINE_COMMAND=oh-my-posh PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 142 Stepping 10, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=8e0a ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PSModulePath=C:\Users\Mario\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\Mario\AppData\Local\Temp TMP=C:\Users\Mario\AppData\Local\Temp USERDOMAIN=PROBOOK USERDOMAIN_ROAMINGPROFILE=PROBOOK USERNAME=Mario USERPROFILE=C:\Users\Mario VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\ windir=C:\Windows WSLENV=WT_SESSION:WT_PROFILE_ID: WT_PROFILE_ID={61c54bbd-c2c6-5271-96e7-009a87ff44bf} WT_SESSION=3337a2a9-4d70-459d-b75b-92eda9d65922]
[DEBUG] 23:37:14.204 time.go:Enabled:29 → 15:04
[TRACE] 23:37:14.204 terminal.go:Pwd() - 0s
[DEBUG] 23:37:14.204 language.go:Enabled:109 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .vue]
[DEBUG] 23:37:14.204 terminal_windows.go:58 → C:\Users\Mario
[TRACE] 23:37:14.204 terminal_windows.go:IsWsl() - 0s
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[DEBUG] 23:37:14.204 path.go:149 → display_cygpath: false
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[DEBUG] 23:37:14.204 language.go:Enabled:110 → folders: []
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[DEBUG] 23:37:14.204 terminal.go:User:330 → Mario
[TRACE] 23:37:14.204 terminal.go:PathSeparator() - 0s
[TRACE] 23:37:14.204 terminal.go:User() - 0s
[DEBUG] 23:37:14.204 language.go:Enabled:117 → home_enabled: false
[TRACE] 23:37:14.204 terminal.go:Pwd() - 0s
[TRACE] 23:37:14.204 terminal.go:Shell() - 0s
[TRACE] 23:37:14.204 terminal.go:Shell() - 0s
[TRACE] 23:37:14.204 terminal.go:Flags() - 0s
[TRACE] 23:37:14.204 terminal.go:Pwd() - 0s
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[DEBUG] 23:37:14.204 terminal_windows.go:58 → C:\Users\Mario
[DEBUG] 23:37:14.204 terminal.go:Host:347 → PROBOOK
[TRACE] 23:37:14.204 terminal.go:Host() - 0s
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[DEBUG] 23:37:14.204 terminal.go:Getenv:164 → NO DATA
[TRACE] 23:37:14.204 terminal.go:Getenv(SHLVL) - 0s
[TRACE] 23:37:14.204 terminal.go:TemplateCache() - 840.7µs
[TRACE] 23:37:14.204 terminal.go:TemplateCache() - 102.3µs
[DEBUG] 23:37:14.204 path.go:setMappedLocations:563 → mapped_locations_enabled: true
[DEBUG] 23:37:14.204 path.go:setMappedLocations:564 → 
[DEBUG] 23:37:14.204 path.go:setMappedLocations:565 → 
[DEBUG] 23:37:14.204 terminal_windows.go:58 → C:\Users\Mario
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.204 terminal.go:PathSeparator() - 0s
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[DEBUG] 23:37:14.204 path.go:setMappedLocations:566 → ~
[DEBUG] 23:37:14.204 path.go:setMappedLocations:571 → mapped_locations: map[]
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.204 terminal.go:PathSeparator() - 0s
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.204 terminal.go:PathSeparator() - 0s
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.204 terminal.go:Flags() - 0s
[DEBUG] 23:37:14.204 path.go:colorizePath:740 → cycle: []
[DEBUG] 23:37:14.204 path.go:getFolderSeparator:273 → NO DATA
[DEBUG] 23:37:14.204 path.go:getFolderSeparator:275 → \
[DEBUG] 23:37:14.204 path.go:colorizePath:743 → cycle_folder_separator: false
[DEBUG] 23:37:14.204 path.go:colorizePath:744 → %s
[DEBUG] 23:37:14.204 path.go:colorizePath:746 → %s
[DEBUG] 23:37:14.204 path.go:colorizePath:747 → %s
[DEBUG] 23:37:14.204 path.go:colorizePath:748 → %s
[TRACE] 23:37:14.204 terminal.go:Pwd() - 0s
[TRACE] 23:37:14.204 terminal.go:TemplateCache() - 0s
[TRACE] 23:37:14.204 terminal.go:GOOS() - 0s
[TRACE] 23:37:14.204 terminal.go:StackCount() - 0s
[DEBUG] 23:37:14.206 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 23:37:14.206 win32_windows.go:isWriteable:303 → current user is member of S-1-5-32-544
[DEBUG] 23:37:14.206 win32_windows.go:isWriteable:311 ↓
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 23:37:14.206 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 23:37:14.206 terminal_windows.go:DirIsWritable() - 1.3035ms
[TRACE] 23:37:14.206 terminal.go:TemplateCache() - 0s
[DEBUG] 23:37:14.206 terminal.go:CommandPath:394 → C:\Program Files\Git\cmd\git.exe
[TRACE] 23:37:14.206 terminal.go:CommandPath(git.exe) - 2.1244ms
[TRACE] 23:37:14.206 terminal.go:HasCommand(git.exe) - 2.1244ms
[DEBUG] 23:37:14.206 git.go:shouldDisplay:312 → fetch_bare_info: false
[TRACE] 23:37:14.206 terminal.go:Pwd() - 0s
[DEBUG] 23:37:14.206 terminal.go:ResolveSymlink:286 → C:\Users\Mario
[TRACE] 23:37:14.206 terminal.go:ResolveSymlink(C:\Users\Mario) - 0s
[ERROR] 23:37:14.207 terminal.go:HasParentFilePath:558 → CreateFile .git: Das System kann die angegebene Datei nicht finden.
[TRACE] 23:37:14.207 terminal.go:HasParentFilePath(.git) - 1.1262ms
[DEBUG] 23:37:14.207 text.go:Render:80 → rendering template:  ♥ {{ .CurrentDate | date .Format }}
[TRACE] 23:37:14.207 terminal.go:Flags() - 0s
[DEBUG] 23:37:14.207 text.go:Render:80 → rendering template:  {{ .Path }}
[TRACE] 23:37:14.207 terminal.go:Flags() - 0s
[DEBUG] 23:37:14.207 text.go:Render:80 → rendering template: {{ .UserName }}
[TRACE] 23:37:14.207 terminal.go:Flags() - 0s
[TRACE] 23:37:14.208 terminal.go:TemplateCache() - 0s
[TRACE] 23:37:14.208 terminal.go:TemplateCache() - 0s
[TRACE] 23:37:14.208 terminal.go:TemplateCache() - 0s
[DEBUG] 23:37:14.208 text.go:Render:80 → rendering template: powerline
[TRACE] 23:37:14.208 terminal.go:Flags() - 0s
[DEBUG] 23:37:14.208 text.go:Render:80 → rendering template: powerline
[TRACE] 23:37:14.208 terminal.go:Flags() - 0s
[DEBUG] 23:37:14.208 text.go:Render:80 → rendering template: diamond
[TRACE] 23:37:14.208 terminal.go:Flags() - 0s
[DEBUG] 23:37:14.208 text.go:Render:80 → rendering template: powerline
[TRACE] 23:37:14.208 terminal.go:Flags() - 0s
[DEBUG] 23:37:14.208 text.go:Render:80 → rendering template: diamond
[TRACE] 23:37:14.208 terminal.go:Flags() - 0s
[TRACE] 23:37:14.208 terminal.go:Shell() - 0s
[TRACE] 23:37:14.208 terminal.go:Shell() - 0s
[TRACE] 23:37:14.208 terminal.go:Flags() - 0s
[TRACE] 23:37:14.208 terminal.go:Pwd() - 0s
[DEBUG] 23:37:14.208 terminal_windows.go:58 → C:\Users\Mario
[TRACE] 23:37:14.208 terminal.go:GOOS() - 0s
[DEBUG] 23:37:14.208 segment.go:SetEnabled:115 → segment: Aws
[DEBUG] 23:37:14.208 aws.go:Enabled:42 → display_default: true
[DEBUG] 23:37:14.208 terminal.go:Getenv:164 → NO DATA
[TRACE] 23:37:14.208 terminal.go:Getenv(AWS_VAULT) - 0s
[DEBUG] 23:37:14.208 terminal.go:Getenv:164 → NO DATA
[TRACE] 23:37:14.208 terminal.go:Getenv(AWS_DEFAULT_PROFILE) - 0s
[DEBUG] 23:37:14.208 terminal.go:Getenv:164 → NO DATA
[TRACE] 23:37:14.208 terminal.go:Getenv(AWS_PROFILE) - 0s
[DEBUG] 23:37:14.208 terminal.go:Getenv:164 → NO DATA
[TRACE] 23:37:14.208 terminal.go:Getenv(AWS_REGION) - 0s
[DEBUG] 23:37:14.208 terminal.go:Getenv:164 → NO DATA
[TRACE] 23:37:14.208 terminal.go:Getenv(AWS_DEFAULT_REGION) - 0s
[DEBUG] 23:37:14.208 terminal.go:Getenv:164 → NO DATA
[TRACE] 23:37:14.208 terminal.go:Getenv(AWS_CONFIG_FILE) - 0s
[DEBUG] 23:37:14.208 terminal_windows.go:58 → C:\Users\Mario
[ERROR] 23:37:14.208 terminal.go:FileContent:297 → open C:\Users\Mario/.aws/config: Das System kann den angegebenen Pfad nicht finden.
[TRACE] 23:37:14.208 terminal.go:FileContent(C:\Users\Mario/.aws/config) - 508.6µs
[TRACE] 23:37:14.209 terminal.go:Shell() - 0s
[TRACE] 23:37:14.209 terminal.go:Shell() - 0s
[TRACE] 23:37:14.209 terminal.go:Shell() - 0s
[DEBUG] 23:37:14.209 terminal.go:Getenv:164 → C:\Users\Mario\AppData\Local
[TRACE] 23:37:14.209 terminal.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 23:37:14.209 terminal.go:CachePath() - 0s
[TRACE] 23:37:14.209 terminal.go:Flags() - 0s
JanDeDobbeleer commented 1 month ago

@imar-io you need to upgrade psreadline. It's heavily outdated.

imar-io commented 1 month ago

Thanks @JanDeDobbeleer for the quick response! Install-Module PSReadLine -Force and restarting the terminal fixed the issue!