Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to remove Oh My Posh #45

Open
simkoG opened this issue Feb 20, 2023 · 1 comment
Open

Unable to remove Oh My Posh #45

simkoG opened this issue Feb 20, 2023 · 1 comment
Labels

Comments

@simkoG
Copy link

simkoG commented Feb 20, 2023

I am unable to completely remove OMP from Windows Terminal/PowerShell. Also, I couldn't find any article regarding this in the documentation.

What did I tried:

winget uninstall JanDeDobbeleer.OhMyPosh
Starting package uninstall...
Successfully uninstalled

After that, when I open the PowerShell (via Windows Terminal) there is an error:

PowerShell 7.3.2
oh-my-posh: C:\Users\_username_\Documents\PowerShell\Microsoft.PowerShell_profile.ps1:1
Line |
   1 |  oh-my-posh init pwsh | Invoke-Expression
     |  ~~~~~~~~~~
     | The term 'oh-my-posh' is not recognized as a name of a cmdlet, function, script file, or executable program.
     | Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Loading personal and system profiles took 1028ms.
PS C:\Users\_username_>
@pecigonzalo
Copy link
Owner

Hey @simkoG , JanDeDobbeleer.OhMyPosh is not provided by me, so I, not sure how they install it. I would recommend reviewing your PowerShell profile and remove anything that might have been added there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants