Skip to content

Powerlevel10k based theme for Powershell

Notifications You must be signed in to change notification settings

lpkampen/pwsh10k

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Pwsh10k - Oh-my-posh theme for my favorite configuration of Powerlevel10k

Pwsh10k preview Preview

  • 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

Prerequisites

  1. Windows Terminal (How to install)

  2. (Optional but recommended) Update to Powershell core 7 if not already (Update!)

  3. 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.

  1. Run Install-Module posh-git -Scope CurrentUser, Install-Module oh-my-posh -Scope CurrentUser, and Update-Module -Name oh-my-posh -AllowPrerelease -Scope CurrentUser

  2. Create a powershell profile if you haven't already: New-Item -ItemType File -Path $PROFILE

  3. Open up the file $profile in your text editor of choice (VScode: code $profile, Notepad: notepad $profile)

  4. Add these lines:

Import-Module posh-git
Import-Module oh-my-posh
Set-PoshPrompt -Theme  ~/pwsh10k.omp.json

Installation steps

  1. Run git clone https://github.com/Kudostoy0u/pwsh10k

  2. Run cd pwsh10k

  3. Run .\install.ps1

  4. Restart terminal and you should see a great terminal!

Use the correct font for VScode integrated terminal

  • Visual Studio Code: Open File → Preferences → Settings, enter terminal.integrated.fontFamily in the search box and set the value to MesloLGS NF

About

Powerlevel10k based theme for Powershell

Resources

Stars

Watchers

Forks

Packages

No packages published