Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 921 Bytes

File metadata and controls

54 lines (40 loc) · 921 Bytes

PowerShell Config for Windows Terminal

Installation

  1. Download Nerd Font

  2. Download Windows Terminal

  3. Change ExecutionPolicy

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Confirm
  1. Install oh-my-posh
winget install oh-my-posh
  1. Check installed Git
git --version
  1. Install manager PowerShellGet
Install-Module PowerShellGet -Force
  1. Install posh-git
PowerShellGet\Install-Module posh-git -Scope CurrentUser -Force
  1. To enable posh-git to be available in all your PowerShell
Add-PoshGitToProfile -AllHosts

Updating

  1. For update oh-my-posh
winget upgrade oh-my-posh
  1. For update posh-git
PowerShellGet\Update-Module posh-git

Customization

  • Put .custom.omp.json in ~ (home folder)
  • Copy / paste code from ps1 file