-
I would like to note that this is for Windows, anyone on Unix who wants this just create a pull request asking.
-
This is Oh-my-posh version 3 beta
-
There's a bug for Oh-My-Posh: Working in git repositories can be a little laggy
-
Windows Terminal (How to install)
-
(Optional but recommended) Update to Powershell core 7 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
.\install.ps1
-
Restart terminal and you should see a great terminal!
- Visual Studio Code: Open File → Preferences → Settings, enter terminal.integrated.fontFamily in the search box and set the value to MesloLGS NF