Get-PSRepository
to verify if PowerShell Gallery is set up properly. If it isn't, you probably need to set up the web proxy settings.https://www.powershellgallery.com/api/v2
is untrusted, run this Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
.Find-Module BurntToast
to verify that modules can be installed. If you get 'Unable to resolve package source…' you will need to install it manually (don't bother trying to fix it).Install-Module -Name BurntToast -Repository PSGallery
.Install-Module -Name Terminal-Icons -Repository PSGallery
.Install-Module posh-git -Scope CurrentUser
.Older stuff that probably doesn't need to be installed anymore.
winget install JanDeDobbeleer.OhMyPosh -s winget
.$PROFILE | Format-List -Force
Test-Path $profile
New-Item -path $profile -type file –force
code $profile
. 'D:\Bin\Manuka\General Scripts\PowerShell startup.ps1'
Current favorites: pure (minimalist) or iterm2.
cd C:\Dev\Common\Auto Hot Key\
Get-PoshThemes
.Set-PoshPrompt -Theme whatever
to play with it.Run this:
oh-my-posh init pwsh --config 'D:\Bin\Common\Settings\Oh-my-posh themes\tallguy.omp.json' | Invoke-Expression