xxxxxxxxxx
[Environment]::SetEnvironmentVariable("PATH", ($env:PATH.Split(';') | Where-Object { $_ -ne "$env:LOCALAPPDATA\Programs\oh-my-posh\bin" }) -join ';', [EnvironmentVariableTarget]::User)
Run this command in Powershell to remove the oh-my-posh env entry for local user