Skip to content

About

Microsoft.PowerShell_profile.ps1 to randomly change themes using oh-my-posh

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

This uses oh-my-posh Please install this from https://ohmyposh.dev/docs/installation/windows and follow all instructions there

  1. Go to C:\Users\YOURUSERNAME\Documents\WindowsPowerShell or %USERPROFILE%\Documents\WindowsPowerShell
  2. Backup Microsoft.PowerShell_profile.ps1
  3. Replace Microsoft.PowerShell_profile.ps1 with the one in this project
  4. 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
)

Command Line with themes

About

Microsoft.PowerShell_profile.ps1 to randomly change themes using oh-my-posh

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages