Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Powershell Beautify steps
Oh-My-Posh is windows version of Oh-My-zsh, it contains minimal but sufficient plugins and themes that would delight your experience with the terminal.
Open Powershell in the terminal
Install the following modules
Install-Module posh-git -Scope CurrentUser
Install-Module oh-my-posh -Scope CurrentUser
# This would be needed only if its Powershell Core
Install-Module -Name PSReadLine -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck
Open the default profile using following command
notepad $PROFILE
Add the following commands in the file opened in notepad
Import-Module posh-git
Import-Module oh-my-posh
Set-Theme robbyrussel
Close and re-open the tab and you should be noticing your powershell modified.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.