My pwsh profile
First, you should install PowerShell and Oh-My-Posh through MS Store
or Winget
.
Besides that, I am also using GitHub CLI.
winget install JanDeDobbeleer.OhMyPosh -s winget
winget install Microsoft.Powershell -s winget
winget install --id GitHub.cli
This profile requires the installation of the following three modules.
Install-Module -Name z -Force
Install-Module -Name Terminal-Icons -Repository PSGallery -Force
PowerShellGet\Install-Module posh-git -Scope CurrentUser -Force
PSReadLine is built-in
nvim $PROFILE.CurrentUserCurrentHost
and enter the init line
. $env:USERPROFILE\.config\pwsh-profile\user_profile.ps1