Oh-my-posh configured correctly in windows terminal, doesn't work in vscode #1011
Replies: 4 comments 5 replies
-
How did you install oh-my-posh? |
Beta Was this translation helpful? Give feedback.
-
In my case it was because vscode on windows 11 couldn't load user environment variables after the version update. simply closing all the vscode windows and reopening it fixed the issue. |
Beta Was this translation helpful? Give feedback.
-
issue:oh-my-posh work well in windows terminal √ vscode × try:setting PATH × restart vscode × success: |
Beta Was this translation helpful? Give feedback.
-
For me, the issue was because of a previous VSCode settings that used to work but not in my new windows install or the last VSCode. "terminal.integrated.env.windows": {
"PATH": "${env:PATH};${workspaceFolder}\\node_modules\\.bin;${env:PNPM_HOME}"
}, But this setting should be set: "terminal.integrated.defaultProfile.windows": "PowerShell", I opened an issue here. I encourage you to vote for it. |
Beta Was this translation helpful? Give feedback.
-
Hello!
The title summarize my problem.
I have configured oh-my-posh for windows terminal and it works just fine, altough on vscode i get this problem:
oh-my-posh: The term 'oh-my-posh' is not recognized as a name of a cmdlet ...
How can i solve it?
Beta Was this translation helpful? Give feedback.
All reactions