This uses oh-my-posh Please install this from https://ohmyposh.dev/docs/installation/windows and follow all instructions there
- Go to C:\Users\YOURUSERNAME\Documents\WindowsPowerShell or %USERPROFILE%\Documents\WindowsPowerShell
- Backup Microsoft.PowerShell_profile.ps1
- Replace Microsoft.PowerShell_profile.ps1 with the one in this project
- Launch terminal
This will randomise your theme each time you open the command line. If you want to turn this off change the value
[CmdletBinding()]
param (
[Parameter()][bool]$randomiseThemes = $true
)
to
[CmdletBinding()]
param (
[Parameter()][bool]$randomiseThemes = $false
)