JanDeDobbeleer / oh-my-posh

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

oh-my-posh only works as admin #4219

Closed RefriZaddo closed 1 year ago

RefriZaddo commented 1 year ago

Code of Conduct

What happened?

I installed oh-my-posh correctly but it only works in admin powershell, whenever i try to use it in normal wt (non-admin), it says "The term 'oh-my-posh' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."

Theme

pwsh10k.omp.json

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

(admin)

Version: 18.6.2

Shell: powershell (5.1.22000.2003)

Prompt:

  ╱  ╱  ~ ​                                                                               ​ ✓ ╱  100 ╱ 21:06:33 
 
Segments:

ConsoleTitle(true)                         -   3 ms
Text(true)                                 -   0 ms
Exit(true)                                 -   0 ms
Node(false)                                -   1 ms
Python(false)                              -   1 ms
Go(false)                                  -   1 ms
Dotnet(false)                              -   0 ms
Executiontime(false)                       -   0 ms
Battery(true)                              -   3 ms
Time(true)                                 -   0 ms
Os(true)                                   -   0 ms
Root(true)                                 -   0 ms
Path(true)                                 -   2 ms
Git(false)                                 -  28 ms
Text(true)                                 -   0 ms

Run duration: 65.6939ms

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

Config path: C:\Users\Nicholas\pwsh10k.omp.json

Logs:

[DEBUG] 21:06:33.918 shell.go:Getenv:392 → NO DATA
[TRACE] 21:06:33.919 shell.go:Getenv(TERM_PROGRAM) - 4.3136ms
[DEBUG] 21:06:33.919 shell.go:Getenv:392 → C:\Users\Nicholas\AppData\Local
[TRACE] 21:06:33.919 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 21:06:33.919 shell_windows.go:CachePath() - 0s
[DEBUG] 21:06:33.919 shell.go:Getenv:392 → C:\Users\Nicholas\pwsh10k.omp.json
[TRACE] 21:06:33.919 shell.go:Getenv(POSH_THEME) - 0s
[DEBUG] 21:06:33.920 shell.go:Shell:632 → no shell name provided in flags, trying to detect it
[DEBUG] 21:06:33.931 shell.go:Shell:640 → process name: powershell.exe
[TRACE] 21:06:33.931 shell.go:Shell() - 12.2396ms
[TRACE] 21:06:33.931 shell.go:resolveConfigPath() - 12.2396ms
[TRACE] 21:06:33.932 shell.go:Init() - 17.593ms
[TRACE] 21:06:33.932 shell.go:Flags() - 0s
[TRACE] 21:06:33.934 config.go:loadConfig() - 1.0977ms
[TRACE] 21:06:33.934 shell.go:Flags() - 0s
[DEBUG] 21:06:33.934 shell.go:Getenv:392 → NO DATA
[TRACE] 21:06:33.934 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 21:06:33.935 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 21:06:33.935 shell.go:GOOS() - 0s
[TRACE] 21:06:33.935 shell.go:GOOS() - 0s
[TRACE] 21:06:33.935 shell.go:GOOS() - 0s
[TRACE] 21:06:33.935 shell.go:GOOS() - 0s
[TRACE] 21:06:33.935 shell.go:GOOS() - 0s
[TRACE] 21:06:33.935 shell.go:GOOS() - 0s
[TRACE] 21:06:33.935 shell.go:GOOS() - 0s
[TRACE] 21:06:33.935 shell.go:GOOS() - 0s
[TRACE] 21:06:33.935 shell.go:GOOS() - 0s
[TRACE] 21:06:33.935 shell.go:GOOS() - 0s
[TRACE] 21:06:33.935 shell.go:GOOS() - 0s
[TRACE] 21:06:33.935 shell.go:GOOS() - 0s
[TRACE] 21:06:33.935 shell.go:GOOS() - 0s
[TRACE] 21:06:33.935 shell.go:GOOS() - 0s
[TRACE] 21:06:33.935 shell.go:GOOS() - 0s
[TRACE] 21:06:33.935 shell.go:GOOS() - 0s
[TRACE] 21:06:33.935 shell.go:GOOS() - 0s
[TRACE] 21:06:33.935 shell.go:GOOS() - 0s
[TRACE] 21:06:33.935 shell.go:GOOS() - 0s
[DEBUG] 21:06:33.935 shell_windows.go:WindowsRegistryKeyValue:215 → ColorizationColor(DWORD): 0xC4018574
[TRACE] 21:06:33.935 shell.go:Shell() - 0s
[DEBUG] 21:06:33.935 shell.go:Getenv:392 → 5.1.22000.2003
[TRACE] 21:06:33.935 shell.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 21:06:33.935 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 21:06:33.936 text.go:Render:70 → Rendering template: {{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}
[TRACE] 21:06:33.936 shell_windows.go:Root() - 0s
[TRACE] 21:06:33.936 shell.go:Shell() - 0s
[TRACE] 21:06:33.936 shell.go:StatusCodes() - 0s
[TRACE] 21:06:33.936 shell_windows.go:IsWsl() - 0s
[DEBUG] 21:06:33.936 shell.go:TemplateCache:813 → environment: [CONDA_PROMPT_MODIFIER=False POSH_AZURE_ENABLED=False POSH_CURSOR_COLUMN=1 POSH_CURSOR_LINE=7 POSH_GIT_ENABLED=False POSH_PID=41084 POSH_SHELL_VERSION=5.1.22000.2003 POSH_THEME=C:\Users\Nicholas\pwsh10k.omp.json POWERLINE_COMMAND=oh-my-posh __PSLockDownPolicy=0 ALLUSERSPROFILE=C:\ProgramData APPCODE_VM_OPTIONS=C:\Users\Public\jetbra\vmoptions\appcode.vmoptions APPDATA=C:\Users\Nicholas\AppData\Roaming asl.log=Destination=file BASH_ENV=/etc/bash.bashrc ChocolateyInstall=C:\ProgramData\chocolatey ChocolateyLastPathUpdate=133218337799387179 ChocolateyToolsLocation=C:\tools CLASSPATH=.;C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip CLINK_DIR=C:\Program Files (x86)\clink CLION_VM_OPTIONS=C:\Users\Public\jetbra\vmoptions\clion.vmoptions CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=WIN11-A515 ComSpec=C:\WINDOWS\system32\cmd.exe DATAGRIP_VM_OPTIONS=C:\Users\Public\jetbra\vmoptions\datagrip.vmoptions DataSpell=C:\Program Files\JetBrains\DataSpell 2022.1.1\bin; DATASPELL_VM_OPTIONS=C:\Users\Public\jetbra\vmoptions\dataspell.vmoptions DEVECOSTUDIO_VM_OPTIONS=C:\Users\Public\jetbra\vmoptions\devecostudio.vmoptions DriverData=C:\Windows\System32\Drivers\DriverData DXSDK_DIR=C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\ FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer FPS_BROWSER_USER_PROFILE_STRING=Default GATEWAY_VM_OPTIONS=C:\Users\Public\jetbra\vmoptions\gateway.vmoptions GOLAND_VM_OPTIONS=C:\Users\Public\jetbra\vmoptions\goland.vmoptions GOPATH=C:\Users\Nicholas\go GTK_BASEPATH=C:\GTK HOMEDRIVE=C: HOMEPATH=\Users\Nicholas IDEA_VM_OPTIONS=C:\Users\Public\jetbra\vmoptions\idea.vmoptions INCLUDE=C:\GTK\INCLUDE;C:\GTK\INCLUDE\GTK-2.0;C:\GTK\INCLUDE\GLIB-2.0;C:\GTK\INCLUDE\PANGO-1.0;C:\GTK\INCLUDE\CAIRO;C:\GTK\INCLUDE\ATK-1.0;C:\GTK\INCLUDE\GTKGLEXT-1.0;C:\GTK\LIB\GTK-2.0\INCLUDE;C:\GTK\LIB\GLIB-2.0\INCLUDE;C:\GTK\LIB\GTKGLEXT-1.0\INCLUDE;C:\GTK\INCLUDE\LIBGLADE-2.0;C:\GTK\INCLUDE\LIBXML2; INTEL_DEV_REDIST=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\ IntelliJ IDEA=C:\Program Files\JetBrains\IntelliJ IDEA 2021.3\bin; JAVA_HOME=C:\Program Files\Eclipse Adoptium\jdk-17.0.2.8-hotspot\ JD2_HOME=C:\Users\Nicholas\AppData\Local\JDownloader 2.0 JETBRAINS_CLIENT_VM_OPTIONS=C:\Users\Public\jetbra\vmoptions\jetbrains_client.vmoptions JETBRAINSCLIENT_VM_OPTIONS=C:\Users\Public\jetbra\vmoptions\jetbrainsclient.vmoptions LIB=C:\GTK\LIB; LOCALAPPDATA=C:\Users\Nicholas\AppData\Local LOGONSERVER=\\WIN11-A515 MIC_LD_LIBRARY_PATH=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\compiler\lib\mic NUMBER_OF_PROCESSORS=8 OneDrive=C:\Users\Nicholas\OneDrive OS=Windows_NT Path=C:\Program Files (x86)\VMware\VMware Workstation\bin\;C:\Program Files\Python310\;C:\Program Files\Python310\Scripts\;C:\Python27\;C:\Python27\Scripts;C:\GTK\bin;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files\Conan\conan;C:\ActiveTcl\bin;C:\Program Files (x86)\ActiveState Komodo IDE 12\;C:\Users\Nicholas\AppData\Roaming\Python\Python310\;C:\Users\Nicholas\AppData\Roaming\Python\Python310\Scripts\;C:\Program Files\Alacritty\;C:\Program Files\PHP\v7.1;C:\Program Files\PHP\v8.0;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Program Files\Eclipse Adoptium\jdk-17.0.2.8-hotspot\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\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\NVIDIA Corporation\NVIDIA NvDLISR;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files;C:\Program Files\dotnet\;C:\Program Files\Go\bin;C:\Program Files\GitHub CLI\;C:\Program Files (x86)\Bitvise SSH Client;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\Git\cmd;C:\ProgramData\chocolatey\bin;C:\Program Files\VSCodium\bin;C:\Program Files (x86)\dotnet\;C:\Program Files\Neovim\/bin;C:\Program Files\CMake\bin\;C:\Program Files\LLVM\bin;C:\Windows\SysWOW64\GnuWin32\LexYacc\bin;C:\MinGW\binC:\Windows\SysWOW64\GnuWin32\binC:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Users\Nicholas\AppData\Local\Programs\Fiddler;C:\Users\Nicholas\AppData\Local\Programs\Fiddler\ScriptEditor;C:\Windows\System32\GnuWin32\coreutils\bin;C:\Windows\SysWOW64;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\tools\Manim\ScriptsC:\Program Files\TortoiseSVN\bin;C:\Python27;C:\Python27\Tools\Scripts;C:\Program Files\PowerShell\7\;C:\Program Files\PowerShell\7-preview\preview;C:\Ruby31-x64\bin;C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot\bin;C:\Program Files (x86)\Turbo\Cmd\;C:\Users\Nicholas\AppData\Local\Microsoft\WindowsApps;C:\Users\Nicholas\.dotnet\tools;C:\WGET\bin;C:\Users\Nicholas\go\bin;C:\Users\Nicholas\AppData\Local\atom\bin;C:\Users\Nicholas\AppData\Local\GitHubDesktop\bin;C:\Program Files (x86)\Brackets\;"C;\Program Files\Git\cmd";C:\Users\Nicholas\AppData\Roaming\Python\Python38;C:\Users\Nicholas\AppData\Roaming\Python\Python38\Scripts;C:\Windows\SysWOW64\GnuWin32\bin;C:\Program Files\JetBrains\IntelliJ IDEA 2021.3\bin;C:\Program Files\JetBrains\DataSpell 2022.1.1\bin;C:\tools\dart-sdk\bin;C:\Users\Nicholas\AppData\Roaming\Pub\Cache\bin;C:\Users\Nicholas\.wasmer\bin;C:\Users\Nicholas\AppData\Local\Programs\Microsoft VS Code\bin;C:\Program Files\JetBrains\PyCharm 2023.1\bin;C:\Users\Nicholas\AppData\Local\Programs\oh-my-posh\bin PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW;.RB;.RBW;.CPL PHPSTORM_VM_OPTIONS=C:\Users\Public\jetbra\vmoptions\phpstorm.vmoptions POSH_INSTALLER=manual POSH_THEMES_PATH=C:\Users\Nicholas\AppData\Local\Programs\oh-my-posh\themes POWERSHELL_DISTRIBUTION_CHANNEL=MSI:Windows 10 Home Single Language PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 142 Stepping 12, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=8e0c ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PSModulePath=C:\Users\Nicholas\OneDrive\Documentos\WindowsPowerShell\Modules;C:\Program Files (x86)\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\AutoIt3\AutoItX PUBLIC=C:\Users\Public PyCharm=C:\Program Files\JetBrains\PyCharm 2023.1\bin; PyCharm Community Edition=C:\Program Files\JetBrains\PyCharm Community Edition 2021.3.2\bin; PYCHARM_VM_OPTIONS=C:\Users\Public\jetbra\vmoptions\pycharm.vmoptions QTJAVA=C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip RIDER_VM_OPTIONS=C:\Users\Public\jetbra\vmoptions\rider.vmoptions RUBYMINE_VM_OPTIONS=C:\Users\Public\jetbra\vmoptions\rubymine.vmoptions SCITE_USERHOME=C:\Users\Nicholas\AppData\Local\AutoIt v3\SciTE sourcedir=C:\WINDOWS\Downloaded Installations\{FA044C81-4FD9-4791-90E0-553B72A246F6}\ STUDIO_VM_OPTIONS=C:\Users\Public\jetbra\vmoptions\studio.vmoptions SystemDrive=C: SystemRoot=C:\WINDOWS TEMP=C:\Users\Nicholas\AppData\Local\Temp TMP=C:\Users\Nicholas\AppData\Local\Temp USERDOMAIN=WIN11-A515 USERDOMAIN_ROAMINGPROFILE=WIN11-A515 userdownloads=C:\Users\Nicholas\downloads USERNAME=Nicholas USERPROFILE=C:\Users\Nicholas VBOX_HWVIRTEX_IGNORE_SVM_IN_USE=1 VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\ VS120COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\ VS140COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\ VS160COMCOMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\ WASMER_CACHE_DIR=C:\Users\Nicholas\.wasmer\cache WASMER_DIR=C:\Users\Nicholas\.wasmer WEBIDE_VM_OPTIONS=C:\Users\Public\jetbra\vmoptions\webide.vmoptions WEBSTORM_VM_OPTIONS=C:\Users\Public\jetbra\vmoptions\webstorm.vmoptions windir=C:\WINDOWS WIX=C:\Program Files (x86)\WiX Toolset v3.11\ WSLENV=WT_SESSION:BASH_ENV/u;USERPROFILE/w:WT_PROFILE_ID WT_PROFILE_ID={61c54bbd-c2c6-5271-96e7-009a87ff44bf} WT_SESSION=55c8fc7d-2c60-4ba3-8ddf-2fb770ec9846 ZTestVariable1=C:\TestVariable]
[TRACE] 21:06:33.936 shell.go:GOOS() - 0s
[DEBUG] 21:06:33.938 shell.go:Pwd:422 → C:\Users\Nicholas
[TRACE] 21:06:33.938 shell.go:Pwd() - 1.1158ms
[DEBUG] 21:06:33.938 shell_windows.go:56 → C:\Users\Nicholas
[TRACE] 21:06:33.938 shell.go:GOOS() - 0s
[TRACE] 21:06:33.938 shell.go:GOOS() - 0s
[TRACE] 21:06:33.938 shell.go:GOOS() - 0s
[TRACE] 21:06:33.938 shell.go:GOOS() - 0s
[TRACE] 21:06:33.938 shell.go:GOOS() - 0s
[TRACE] 21:06:33.938 shell.go:GOOS() - 0s
[TRACE] 21:06:33.939 shell.go:GOOS() - 0s
[TRACE] 21:06:33.939 shell.go:GOOS() - 0s
[TRACE] 21:06:33.939 shell.go:GOOS() - 0s
[TRACE] 21:06:33.939 shell.go:GOOS() - 0s
[TRACE] 21:06:33.939 shell.go:GOOS() - 0s
[DEBUG] 21:06:33.939 shell.go:User:543 → Nicholas
[TRACE] 21:06:33.939 shell.go:User() - 0s
[DEBUG] 21:06:33.939 shell.go:Host:555 → Win11-A515
[TRACE] 21:06:33.939 shell.go:Host() - 0s
[TRACE] 21:06:33.939 shell.go:GOOS() - 0s
[DEBUG] 21:06:33.939 shell.go:Getenv:392 → NO DATA
[TRACE] 21:06:33.939 shell.go:Getenv(SHLVL) - 0s
[TRACE] 21:06:33.939 shell.go:TemplateCache() - 2.7286ms
[DEBUG] 21:06:33.939 shell.go:Getenv:392 → 7
[TRACE] 21:06:33.939 shell.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 21:06:33.939 shell.go:Getenv:392 → 1
[TRACE] 21:06:33.939 shell.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 21:06:33.939 shell.go:Flags() - 0s
[TRACE] 21:06:33.939 shell.go:Flags() - 0s
[TRACE] 21:06:33.939 shell.go:Shell() - 0s
[TRACE] 21:06:33.939 shell.go:Flags() - 0s
[TRACE] 21:06:33.939 shell.go:Flags() - 0s
[TRACE] 21:06:33.939 shell.go:Pwd() - 0s
[TRACE] 21:06:33.939 shell.go:Pwd() - 0s
[DEBUG] 21:06:33.939 shell_windows.go:56 → C:\Users\Nicholas
[TRACE] 21:06:33.939 shell.go:GOOS() - 0s
[TRACE] 21:06:33.939 shell.go:Flags() - 0s
[DEBUG] 21:06:33.939 shell_windows.go:56 → C:\Users\Nicholas
[TRACE] 21:06:33.939 shell.go:Flags() - 0s
[TRACE] 21:06:33.939 shell.go:GOOS() - 0s
[DEBUG] 21:06:33.939 segment.go:SetEnabled:494 → Segment: Time
[DEBUG] 21:06:33.939 segment.go:SetEnabled:494 → Segment: Text
[TRACE] 21:06:33.939 shell.go:Flags() - 0s
[TRACE] 21:06:33.939 shell.go:TemplateCache() - 0s
[TRACE] 21:06:33.939 shell.go:Pwd() - 0s
[TRACE] 21:06:33.939 shell.go:Flags() - 0s
[DEBUG] 21:06:33.939 shell_windows.go:56 → C:\Users\Nicholas
[DEBUG] 21:06:33.939 shell_windows.go:56 → C:\Users\Nicholas
[TRACE] 21:06:33.939 shell.go:GOOS() - 0s
[TRACE] 21:06:33.939 shell.go:GOOS() - 0s
[DEBUG] 21:06:33.939 segment.go:SetEnabled:494 → Segment: Go
[DEBUG] 21:06:33.939 segment.go:SetEnabled:494 → Segment: Node
[TRACE] 21:06:33.939 shell.go:Pwd() - 0s
[TRACE] 21:06:33.939 shell.go:Flags() - 0s
[DEBUG] 21:06:33.939 shell_windows.go:56 → C:\Users\Nicholas
[TRACE] 21:06:33.939 shell.go:GOOS() - 0s
[DEBUG] 21:06:33.939 segment.go:SetEnabled:494 → Segment: Executiontime
[TRACE] 21:06:33.939 shell.go:Flags() - 0s
[TRACE] 21:06:33.939 shell.go:Pwd() - 0s
[DEBUG] 21:06:33.939 shell_windows.go:56 → C:\Users\Nicholas
[TRACE] 21:06:33.939 shell.go:GOOS() - 0s
[DEBUG] 21:06:33.939 segment.go:SetEnabled:494 → Segment: Battery
[TRACE] 21:06:33.939 shell.go:Flags() - 0s
[TRACE] 21:06:33.939 shell.go:Pwd() - 0s
[TRACE] 21:06:33.939 shell_windows.go:IsWsl() - 0s
[DEBUG] 21:06:33.939 shell_windows.go:56 → C:\Users\Nicholas
[TRACE] 21:06:33.939 shell.go:GOOS() - 0s
[DEBUG] 21:06:33.939 segment.go:SetEnabled:494 → Segment: Dotnet
[DEBUG] 21:06:33.939 properties.go:GetString:28 → 15:04:05
[TRACE] 21:06:33.939 shell.go:TemplateCache() - 0s
[DEBUG] 21:06:33.939 properties.go:GetString:28 → {{ .Code }}
[TRACE] 21:06:33.939 shell.go:Pwd() - 0s
[DEBUG] 21:06:33.939 shell_windows.go:56 → C:\Users\Nicholas
[TRACE] 21:06:33.939 shell.go:GOOS() - 0s
[DEBUG] 21:06:33.939 segment.go:SetEnabled:494 → Segment: Exit
[TRACE] 21:06:33.939 shell.go:StatusCodes() - 0s
[DEBUG] 21:06:33.939 text.go:Render:70 → Rendering template: {{ .Code }}
[TRACE] 21:06:33.940 shell.go:TemplateCache() - 0s
[DEBUG] 21:06:33.940 properties.go:GetBool:22 → always_enabled: true
[TRACE] 21:06:33.940 shell.go:TemplateCache() - 0s
[DEBUG] 21:06:33.940 properties.go:GetString:28 → environment
[TRACE] 21:06:33.940 shell.go:Pwd() - 0s
[DEBUG] 21:06:33.940 shell_windows.go:56 → C:\Users\Nicholas
[TRACE] 21:06:33.940 shell.go:GOOS() - 0s
[DEBUG] 21:06:33.940 segment.go:SetEnabled:494 → Segment: Python
[DEBUG] 21:06:33.940 properties.go:GetBool:22 → always_enabled: false
[TRACE] 21:06:33.940 shell.go:ExecutionTime() - 0s
[DEBUG] 21:06:33.940 properties.go:GetFloat64:34 → threshold: 500.000000
[DEBUG] 21:06:33.940 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .npmrc .vue]
[DEBUG] 21:06:33.940 properties.go:GetStringArray:52 → extensions: [*.cs *.csx *.vb *.sln *.slnf *.csproj *.vbproj *.fs *.fsx *.fsproj global.json]
[DEBUG] 21:06:33.940 properties.go:GetStringArray:52 → extensions: [*.go go.mod]
[DEBUG] 21:06:33.940 properties.go:GetStringArray:52 → folders: []
[DEBUG] 21:06:33.940 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[DEBUG] 21:06:33.940 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 21:06:33.940 properties.go:GetStringArray:52 → folders: []
[DEBUG] 21:06:33.940 properties.go:GetBool:22 → home_enabled: false
[TRACE] 21:06:33.940 shell.go:Pwd() - 0s
[DEBUG] 21:06:33.940 properties.go:GetStringArray:52 → folders: []
[DEBUG] 21:06:33.940 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv env venv-win pyenv-win]
[DEBUG] 21:06:33.940 properties.go:GetBool:22 → home_enabled: false
[TRACE] 21:06:33.940 shell.go:Pwd() - 0s
[DEBUG] 21:06:33.940 shell_windows.go:56 → C:\Users\Nicholas
[TRACE] 21:06:33.943 shell_windows_nix.go:BatteryState() - 3.8883ms
[DEBUG] 21:06:33.943 properties.go:GetString:28 → 
[TRACE] 21:06:33.943 shell.go:TemplateCache() - 0s
[DEBUG] 21:06:33.943 text.go:Render:70 → Rendering template: ​
[TRACE] 21:06:33.943 shell.go:Shell() - 0s
[DEBUG] 21:06:33.943 text.go:Render:70 → Rendering template:  {{ if gt .Code 0 }}✘ {{ else }}✓ {{ end }}<#ffffff>╱</>
[DEBUG] 21:06:33.944 text.go:Render:70 → Rendering template:  {{ .CurrentDate | date .Format }}<#007ACC>  </>
[DEBUG] 21:06:33.944 text.go:Render:70 → Rendering template:  {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}<#999900></><#FFFFFF> ╱</>
[TRACE] 21:06:33.944 shell.go:TemplateCache() - 0s
[TRACE] 21:06:33.944 shell.go:Shell() - 0s
[TRACE] 21:06:33.944 shell.go:TemplateCache() - 0s
[TRACE] 21:06:33.944 shell.go:TemplateCache() - 0s
[TRACE] 21:06:33.944 shell.go:Shell() - 0s
[TRACE] 21:06:33.945 shell.go:Shell() - 0s
[DEBUG] 21:06:33.945 text.go:Render:70 → Rendering template: diamond
[DEBUG] 21:06:33.946 text.go:Render:70 → Rendering template: {{ if gt .Code 0 }}#e91e63{{ end }}
[TRACE] 21:06:33.946 shell.go:TemplateCache() - 0s
[DEBUG] 21:06:33.946 text.go:Render:70 → Rendering template: diamond
[DEBUG] 21:06:33.946 text.go:Render:70 → Rendering template: diamond
[DEBUG] 21:06:33.946 text.go:Render:70 → Rendering template: diamond
[DEBUG] 21:06:33.946 text.go:Render:70 → Rendering template: powerline
[DEBUG] 21:06:33.946 text.go:Render:70 → Rendering template: diamond
[DEBUG] 21:06:33.946 text.go:Render:70 → Rendering template: plain
[DEBUG] 21:06:33.946 text.go:Render:70 → Rendering template: {{ if eq "Full" .State.String }}#006400{{ end }}
[TRACE] 21:06:33.947 shell.go:TemplateCache() - 0s
[DEBUG] 21:06:33.949 text.go:Render:70 → Rendering template: powerline
[DEBUG] 21:06:33.949 text.go:Render:70 → Rendering template: diamond
[TRACE] 21:06:33.949 shell.go:Shell() - 0s
[TRACE] 21:06:33.949 shell.go:Shell() - 0s
[TRACE] 21:06:33.949 shell.go:Shell() - 0s
[TRACE] 21:06:33.949 shell.go:Flags() - 0s
[TRACE] 21:06:33.949 shell.go:Pwd() - 0s
[TRACE] 21:06:33.949 shell.go:Flags() - 0s
[TRACE] 21:06:33.949 shell.go:Flags() - 0s
[TRACE] 21:06:33.950 shell.go:Flags() - 0s
[TRACE] 21:06:33.950 shell.go:Pwd() - 0s
[TRACE] 21:06:33.950 shell.go:Flags() - 0s
[DEBUG] 21:06:33.950 shell_windows.go:56 → C:\Users\Nicholas
[TRACE] 21:06:33.950 shell.go:Pwd() - 0s
[TRACE] 21:06:33.950 shell.go:Pwd() - 0s
[DEBUG] 21:06:33.950 shell_windows.go:56 → C:\Users\Nicholas
[TRACE] 21:06:33.950 shell.go:GOOS() - 0s
[DEBUG] 21:06:33.950 segment.go:SetEnabled:494 → Segment: Text
[TRACE] 21:06:33.950 shell.go:GOOS() - 0s
[DEBUG] 21:06:33.950 shell_windows.go:56 → C:\Users\Nicholas
[DEBUG] 21:06:33.950 shell_windows.go:56 → C:\Users\Nicholas
[TRACE] 21:06:33.950 shell.go:TemplateCache() - 0s
[DEBUG] 21:06:33.950 segment.go:SetEnabled:494 → Segment: Root
[TRACE] 21:06:33.950 shell.go:GOOS() - 0s
[DEBUG] 21:06:33.950 segment.go:SetEnabled:494 → Segment: Os
[TRACE] 21:06:33.950 shell.go:Pwd() - 0s
[TRACE] 21:06:33.950 shell.go:GOOS() - 0s
[TRACE] 21:06:33.950 shell.go:GOOS() - 0s
[DEBUG] 21:06:33.950 shell_windows.go:56 → C:\Users\Nicholas
[DEBUG] 21:06:33.950 properties.go:GetString:28 → 
[TRACE] 21:06:33.950 shell.go:GOOS() - 0s
[TRACE] 21:06:33.950 shell.go:TemplateCache() - 0s
[DEBUG] 21:06:33.950 segment.go:SetEnabled:494 → Segment: Path
[TRACE] 21:06:33.950 shell.go:Pwd() - 0s
[TRACE] 21:06:33.950 shell.go:Shell() - 0s
[TRACE] 21:06:33.950 shell.go:Shell() - 0s
[TRACE] 21:06:33.950 shell.go:Flags() - 0s
[TRACE] 21:06:33.950 shell_windows.go:Root() - 0s
[TRACE] 21:06:33.950 shell.go:TemplateCache() - 0s
[DEBUG] 21:06:33.950 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 21:06:33.950 properties.go:GetString:28 → 
[DEBUG] 21:06:33.950 properties.go:GetString:28 → 
[DEBUG] 21:06:33.950 shell_windows.go:56 → C:\Users\Nicholas
[TRACE] 21:06:33.951 shell.go:GOOS() - 0s
[TRACE] 21:06:33.951 shell.go:GOOS() - 0s
[DEBUG] 21:06:33.951 properties.go:GetString:28 →  ~
[DEBUG] 21:06:33.951 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 21:06:33.951 shell.go:PathSeparator() - 0s
[TRACE] 21:06:33.951 shell.go:GOOS() - 0s
[TRACE] 21:06:33.951 shell.go:GOOS() - 0s
[TRACE] 21:06:33.951 shell.go:GOOS() - 0s
[TRACE] 21:06:33.951 shell.go:GOOS() - 0s
[TRACE] 21:06:33.951 shell.go:GOOS() - 0s
[TRACE] 21:06:33.951 shell.go:GOOS() - 0s
[TRACE] 21:06:33.951 shell.go:GOOS() - 0s
[TRACE] 21:06:33.951 shell.go:PathSeparator() - 0s
[TRACE] 21:06:33.951 shell.go:PathSeparator() - 0s
[TRACE] 21:06:33.951 shell.go:GOOS() - 0s
[TRACE] 21:06:33.951 shell.go:GOOS() - 0s
[TRACE] 21:06:33.951 shell.go:GOOS() - 0s
[TRACE] 21:06:33.951 shell.go:PathSeparator() - 0s
[TRACE] 21:06:33.951 shell.go:GOOS() - 0s
[TRACE] 21:06:33.951 shell.go:GOOS() - 0s
[TRACE] 21:06:33.951 shell.go:GOOS() - 0s
[TRACE] 21:06:33.951 shell.go:PathSeparator() - 0s
[TRACE] 21:06:33.951 shell.go:GOOS() - 0s
[TRACE] 21:06:33.951 shell.go:GOOS() - 0s
[TRACE] 21:06:33.951 shell.go:GOOS() - 0s
[TRACE] 21:06:33.951 shell.go:PathSeparator() - 0s
[TRACE] 21:06:33.951 shell.go:Pwd() - 0s
[TRACE] 21:06:33.951 shell_windows.go:IsWsl() - 0s
[TRACE] 21:06:33.951 shell.go:StackCount() - 0s
[DEBUG] 21:06:33.952 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 21:06:33.952 win32_windows.go:isWriteable:303 → current user is member of S-1-5-32-544
[DEBUG] 21:06:33.952 win32_windows.go:isWriteable:311 ↓
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 21:06:33.952 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 21:06:33.952 shell_windows.go:DirIsWritable() - 1.079ms
[TRACE] 21:06:33.952 shell.go:TemplateCache() - 0s
[DEBUG] 21:06:33.977 shell.go:CommandPath:594 → C:\Program Files\Git\cmd\git.exe
[TRACE] 21:06:33.977 shell.go:CommandPath(git.exe) - 27.1051ms
[TRACE] 21:06:33.977 shell.go:HasCommand(git.exe) - 27.1051ms
[TRACE] 21:06:33.977 shell.go:Pwd() - 0s
[ERROR] 21:06:33.978 shell.go:HasParentFilePath:728 → CreateFile .git: The system cannot find the file specified.
[TRACE] 21:06:33.978 shell.go:HasParentFilePath(.git) - 914.1µs
[DEBUG] 21:06:33.978 properties.go:GetBool:22 → fetch_bare_info: false
[DEBUG] 21:06:33.978 text.go:Render:70 → Rendering template: ​
[TRACE] 21:06:33.978 shell.go:Shell() - 0s
[DEBUG] 21:06:33.978 text.go:Render:70 → Rendering template:  {{ if .WSL }}WSL at {{ end }}{{.Icon}}<#ffffff> ╱</>
[DEBUG] 21:06:33.978 text.go:Render:70 → Rendering template: <#f2f200> </>{{ .Path }}
[DEBUG] 21:06:33.978 text.go:Render:70 → Rendering template:  <#7a7a7a> ╱</>
[TRACE] 21:06:33.978 shell.go:Shell() - 0s
[TRACE] 21:06:33.979 shell.go:TemplateCache() - 0s
[TRACE] 21:06:33.979 shell.go:Shell() - 0s
[TRACE] 21:06:33.979 shell.go:TemplateCache() - 0s
[TRACE] 21:06:33.979 shell.go:Shell() - 0s
[DEBUG] 21:06:33.979 text.go:Render:70 → Rendering template: diamond
[DEBUG] 21:06:33.979 text.go:Render:70 → Rendering template: diamond
[DEBUG] 21:06:33.980 text.go:Render:70 → Rendering template: diamond
[DEBUG] 21:06:33.980 text.go:Render:70 → Rendering template: powerline
[DEBUG] 21:06:33.980 text.go:Render:70 → Rendering template: diamond
[TRACE] 21:06:33.980 shell.go:Shell() - 0s
[TRACE] 21:06:33.980 shell.go:Shell() - 0s
[TRACE] 21:06:33.980 shell.go:Flags() - 0s
[TRACE] 21:06:33.980 shell.go:Shell() - 0s
[TRACE] 21:06:33.980 shell.go:Shell() - 0s
[DEBUG] 21:06:33.980 shell_windows.go:TerminalWidth:109 → terminal width: 120
[TRACE] 21:06:33.980 shell_windows.go:TerminalWidth() - 0s
[DEBUG] 21:06:33.985 shell.go:Getenv:392 → C:\Users\Nicholas\AppData\Local
[TRACE] 21:06:33.985 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 21:06:33.986 shell_windows.go:CachePath() - 1.0101ms
[TRACE] 21:06:33.986 shell.go:Flags() - 0s
JanDeDobbeleer commented 1 year ago

@RefriZaddo this is a strange issue as we don't even have that ability in the installer. It installs for all users (and also admin), or your current user. Only admin isn't possible. Can you tun the installer again so it sets the PATH correctly? You might need to restart afterwards for this to persist. If it doesn't resolve, you'll need to add the PATH yourself, this isn't something we've come across before so likely something on the machine is interfering when installing in that case.

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