Configuration files for windows PowerShell
- Install oh-my-posh
winget install JanDeDobbeleer.OhMyPosh -s winget
-
Double-click to open the
HackNerdFont-Regular.ttf
file, then click to install Hack Nerd Font -
Copy
.config
folder toC:\Users\<USER_NAME>\
-
Run
notepad $PROFILE
, when the above command gives an error, you should runNew-Item -Path $PROFILE -Type File -Force
to create the profile first -
Copy the content of Microsoft.PowerShell_profile.ps1, save it, and replace
<USER_NAME>
with your username , then run. $PROFILE
-
In PowerShell, press
Shift + Ctrl + ,
to opensetting.json
. Copy the content from the repository's setting.json and save it. Then, return to PowerShell, pressCtrl + .
to open settings, choose 'color schemes' and select 'red planet' as the default