Created
July 1, 2022 17:23
-
-
Save timdeschryver/c78c02750f068a8d8154d9d60b070ffa to your computer and use it in GitHub Desktop.
Random Oh My Posh Theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Themes = "C:\Users\{user}\AppData\Local\Programs\oh-my-posh\themes\" | |
$RandomTheme = Get-ChildItem $Themes -name | Select-Object -index $(Random $((Get-ChildItem $Themes).Count)) | |
oh-my-posh init pwsh --config "$Themes\$RandomTheme" | Invoke-Expression |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment