Skip to content

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

Notifications You must be signed in to change notification settings

TheMasterPrawn/fancy_cmd_line

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published