contains a package
And 4 Modules
- PSColor
- posh-git
- git-aliases
- PSReadLine
-
Install Windows Terminal
-
run the following command
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # install Oh-My-Posh winget install JanDeDobbeleer.OhMyPosh -s winget # install modules Install-Module PSColor Install-Module posh-git -Force Install-Module git-aliases -Scope CurrentUser -AllowClobber Install-Module PSReadLine -Force
- Copy
Microsoft.PowerShell_profile.ps1
to%UserProfile%\Documents\WindowsPowerShell
- Open
settings.json
ofWindows Terminal
, replace content ofsettings.json
- The font face of config is Sarasa Term SC, you can download from this link or modify it to what you like
- Open
Windows Terminal
, enjoy it ~