How to fix POSH broken prompt on vscode? #2089
|
I recently started using ohmyposh with my windows powershell prompt. It looks great on my terminal. But as soon as i switch to my vscode to do my development stuff, it seems to be broken. It looks bad , i want to fix it. Any suggestions/solutions on it? Have you guys also faced this before. This is my powershell with ohmyposh tweaks : This is how it looks on vscode on windows: |
Replies: 10 comments 13 replies
|
Can it be it starts on a UNC path? What's the value of |
|
I really find it strange but it actually now reverted back to the previous state after a restart. Don't know how but yes it did! Still broken unicode prompt : Can't display those nice little icons, it distracts me any fixes you can suggest? I really like the ohmyposh shell ! |
|
Changing the font does the work , NERD font fira code works well. Some tweaks fixed the issue. Thanks ! |
|
My mistake was that I had previously set my terminal font and it was overriding the editor font family setting. |
|
I have an interesting issue, all my icons and glyphs work fin in the external terminal normally when I run it in both normal and elevated modes (as seen from the attached image). However, when launching VSCode, it's missing some of the icons and glyphs though I have installed Melso Nerd font and set the Editor Font, which is the default for the Terminal. Kindly advise? As you can see in the VSCode Terminal, 3 of the glyphs are missing. |
oh-my-posh Full Installation with Autocompletions and Fix VSCode Broken Issue
Download and Install [Windows 11 as Base in All Paths]
For only Who Need Autocompletions
For only Who Need to Fix Broken Powershell in VSCode// ? Required
"terminal.integrated.fontFamily": "CaskaydiaCove NFM",
// ? Optional For Your Screen And Size Aujest it Manually
"terminal.integrated.fontSize": 12,
"terminal.integrated.fontWeight": "400",Final ResultsMade With ❤️ by @MeetBhingradiya |
|
Changing the font to CaskaydiaCove Nerd Font, as suggested by @MeetBhingradiya worked. thanks @MeetBhingradiya. I am still having to run VSCode as Administrator before it picks up the Path Variables. Any pointers? |
|
Its worked in my powershell but when i try to open inside vscode it was not showing. That's why I open vscode user settings file from location
|
|
@JanDeDobbeleer can you lock this conversation so unnecessary comments can't confuse other users. |
















Changing the font does the work , NERD font fira code works well. Some tweaks fixed the issue. Thanks !