Closed hachi1030-Allen closed 2 years ago
@hachi1030-Allen hey. That theme has a Strava segment. If you're not using it, removing it is the best solution. If you want to use it, you need to authenticate 😁
Thanks @JanDeDobbeleer
In that case, I think we can close that, certainly I am not going to use Strava segment, so I will just switch a theme or ignore this error.
And seems it doesn't relate to the loading time.
Thanks so much for the quick response!
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.
Code of Conduct
What happened?
I am using scoop to install the latest oh-my-posh, so it's not the PowerShell module.
The loading time reduced but still I need around 2000ms to load the PowerShell profile. After running the measure-script function from PSProfiler module on the my Profile.ps1 file, I got that this line took the most of the time.
Then I run the
oh-my-posh debug
command and found one HTTP request error which took around 700ms to complete, but the result is Authorization Error.May I know what's this call for and if we figured out how to resolve the Authorization issue, whether oh-my-posh init will run faster?
Hope can get help from here. Thanks in advance!
Theme
larserikfinholt.omp.json
What OS are you seeing the problem on?
Windows
Which shell are you using?
powershell
Log output