These files are part of how I build a powershell profile.
This is what it looks like at startup:
You need the following PS Modules installed before you start:
- pscx
- PSReadline
- posh-vs
All of these can be installed with Install-Module
.
You also need to have starship
in your path somewhere. You can install this via cargo (the Rust language package manager) as I have done or via Chocolatey (or by whatever other means you like if you're informed about other ways).
Download this gist as a ZIP. Copy 01_PowerShell_common.ps1
to $profile
. Copy the *.xml
files to $PSScriptRoot
. Create one or more local customizations in $PSScriptRoot\{a label of your choosing}.local.ps1
.
These instructions should work for PowerShell Core as well; just be aware that PowerShell and PowerShell Core have separate profile directories.