DEV Community

Pau Garcia
Pau Garcia

Posted on

Customisimg windows powershell

First, install Oh-My-Posh

winget install JanDeDobbeleer.OhMyPosh -s winget

Create $SPROFILE variable

New-Item -Path $PROFILE -Type File -Force

And execute:
notepad $PROFILE

Add this in the file

oh-my-posh init pwsh | Invoke-Expression

Install Nerd Fonts

Install Themes

Get-PoshThemes

Change the $PROFILE file content to:

oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\amro.omp.json" | Invoke-Expression

Install icons:

Install-Module -Name Terminal-Icons -Repository PSGallery

add to the $PROFILE file:

Import-Module -Name Terminal-Icons

Top comments (0)