Init is Extremely Slow #5417
Replies: 5 comments 4 replies
-
@rohit-serri highly likely Defender blocking the execution. You can use |
Beta Was this translation helpful? Give feedback.
-
i do have the executable as an Exclusion |
Beta Was this translation helpful? Give feedback.
-
this is how long it takes with the above $PROFILE |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
For those who have the same issue but prefer not to add [Console]::OutputEncoding = [Text.Encoding]::UTF8
function prompt {
oh-my-posh print primary --config "$env:POSH_THEMES_PATH\catppuccin_mocha.omp.json" # change it to your own theme
} To be brief Notice |
Beta Was this translation helpful? Give feedback.
-
Code of Conduct
What happened?
The loading of profile with bare init command is too slow, upwards of about 10-12 seconds and is consistent across multiple powershell windows.
i have other things in my $PROFILE which before using oh my posh were loading up in about 1 second
Theme
1_shell but tested with other themes as well same results
What OS are you seeing the problem on?
Windows
Which shell are you using?
powershell
Log output
Beta Was this translation helpful? Give feedback.
All reactions