Skip to content

Instantly share code, notes, and snippets.

View royashbrook's full-sized avatar

Roy Ashbrook royashbrook

View GitHub Profile
function OhMyPoshStuff{
Import-Module oh-my-posh
Import-Module -Name Terminal-Icons
function Get-ThemeList{
$themeurl = "https://github.com/JanDeDobbeleer/oh-my-posh/tree/main/themes"
$ProgressPreference = 'SilentlyContinue'
$links = (iwr $themeurl).links
$ProgressPreference = 'Continue'
$themes=($links | where title -like *omp.json).title -Replace ".omp.json",""