Included here are the PowerShell profile I use as well as the oh-my-posh 3 config, but in addition to these you'll need:
- The PowerShell modules:
- For git in PowerShell, I use
posh-git
- For prompt customization, I use
oh-my-posh
- For file/folder icons I use the excellent
Terminal-Icons
package by @devblackops: https://github.com/devblackops/Terminal-Icons - To install each:
- For git in PowerShell, I use
Install-Module -Name posh-git -Repository PSGallery
Install-Module -Name oh-my-posh -Repository PSGallery
Install-Module -Name Terminal-Icons -Repository PSGallery
- You'll also need a font capable of rendering the symbols, I use Delugia Nerd Font (download: https://en.likefont.com/font/252443/)
- To select this after install, go to Terminal's Settings -> PowerShell settings -> Appearance tab, choose font
I hope you enjoy!