Uninstall the profile and scripts
sameerasw opened this issue · comments
I uninstalled Oh My Posh completely and re-installed but couldn't get back to default settings of oh-my-posh and change the theme according to the guides. Some help for a noob?
Hi @sameerasw, What were your default settings? Also, I would like to know some more information (if possible).
Hi @sameerasw, What were your default settings? Also, I would like to know some more information (if possible).
I would like to know how to completely remove this script and it's affects. Because it takes quite a time for my pc to load.
I tried changing my Oh-My-Posh theme as the guides but it doesn't make any changes... I even completely re-created my powershell profile but just after I added oh-my-posh to the execution, It reverts back to the state which it was before... I couldn't find where these changes are located.
Can you give me a little help on reverting every change to it's default? Because it takes around 2 seconds to load the CLI and it's a bit annoying on day to day use.
Based on the setup.ps1
present in this repo, the script must be present in
C:\Users\<yourusername>\Documents\Powershell
if you installed using Powershell 7+.C:\Users\<yourusername>\Documents\WindowsPowerShell
if you installed using Windows Powershell.
There, you will find the file as Microsoft.PowerShell_profile.ps1
.
Can simply delete this file to revert back to the default look of Powershell.
Apart from this, here are some other things that get installed by this script.
-
Oh-my-Posh -> (Can be found using Windows Settings or Control Panel).
-
Chocolatey -> Chocolatey Uninstallation Guide
-
Terminal Icons.