Skip to content

Latest commit

 

History

History
56 lines (47 loc) · 2.23 KB

powerline-winterm.md

File metadata and controls

56 lines (47 loc) · 2.23 KB

Set up Powerline in Windows Terminal

Update settings.json for Microsoft Terminal with Ctrl+,.

"list":
[
  {
    // Make changes here to the powershell.exe profile.
    "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
    "name": "Windows PowerShell",
    "commandline": "powershell.exe",
    "fontFace": "Cascadia Code PL",
    "hidden": false
  },
  {
    "guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
    "hidden": false,
    "name": "PowerShell",
    "source": "Windows.Terminal.PowershellCore",
    "fontFace": "Cascadia Code PL"
  }
]

WSL

wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-amd64 -O /usr/local/bin/oh-my-posh
chmod +x /usr/local/bin/oh-my-posh
mkdir ~/.poshthemes
wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/themes.zip -O ~/.poshthemes/themes.zip
unzip ~/.poshthemes/themes.zip -d ~/.poshthemes
chmod u+rw ~/.poshthemes/*.json
rm ~/.poshthemes/themes.zip

Troublehooting

JanDeDobbeleer commented 10 days ago Set-Theme is a V2 cmdlet. This got renamed to Set-PoshPrompt for V3. See here for more info.

References

  1. Tutorial: Set up Powerline in Windows Terminal
  2. How to make a pretty prompt in Windows Terminal with Powerline, Nerd Fonts, Cascadia Code, WSL, and oh-my-posh
  3. Setting Up Powerline Shell on Windows Subsystem for Linux
  4. Cascadia Code
  5. Cascadia Code (GitHub)
  6. MEGATHREAD: Breaking settings changes in version 0.11! #5458
  7. Oh my Posh
  8. Windows Terminal - PowerShell customization via oh-my-posh/posh-git Set-Theme error? #441
  9. How to Make Windows Terminal Transparent