-
Windows Terminal (How to install)
-
(Optional but recommended) Update to Powershell core 7 (or the newest version of powershell available) if not already (Update!)
-
Download the MesloLGS NF font: Download these four ttf files:
Double-click on each file and press "Install". This will make MesloLGS NF font available to all applications on your system. Configure your Windows Terminal to use this font:
Open Settings (Ctrl+,)
, search for fontFace and set value to MesloLGS NF for every profile.
-
Run
Install-Module posh-git -Scope CurrentUser
,Install-Module oh-my-posh -Scope CurrentUser
, andUpdate-Module -Name oh-my-posh -AllowPrerelease -Scope CurrentUser
-
Create a powershell profile if you haven't already:
New-Item -ItemType File -Path $PROFILE
-
Open up the file
$profile
in your text editor of choice (VScode:code $profile
, Notepad:notepad $profile
) -
Add these lines:
Import-Module posh-git
Import-Module oh-my-posh
Set-PoshPrompt -Theme ~/pwsh10k.omp.json
-
Run
git clone https://github.com/Kudostoy0u/pwsh10k
-
Run
cd pwsh10k
-
Run
Copy-Item -Path pwsh10k.omp.json -Destination $HOME
-
Restart terminal and you should see a pretty prompt!
- Visual Studio Code: Open File → Preferences → Settings, enter terminal.integrated.fontFamily in the search box and set the value to MesloLGS NF
Fork the project, edit the pwsh10k.omp.json
file as you see fit, and run the installation instructions, replacing the link in the first step with your own repo.
If you believe there's a bug in the code feel free to make a pull request!