docs: instructions to set font in Windows Terminal

Instructions to modify settings.json to set default font.
This commit is contained in:
Jan Tielens 2021-03-10 17:04:48 +01:00 committed by Jan De Dobbeleer
parent 95e796e2f3
commit 6ed5402ef6

View file

@ -54,6 +54,22 @@ Oh my Posh was designed using [Meslo LGM NF][meslo], but any Nerd Font should be
Make sure to install fonts system wide to avoid seeing rectangles in your terminal. See this [thread][font-thread] for more context.
:::
:::caution Setting the default font in the Windows Terminal
Once you have installed a powerline enabled font, don't forget to tell the Windows Terminal to use it. This can be easily done by modifying the Windows Terminal settings (default shortcut: `CTRL + ,`). In your `settings.json` file, add the `fontFace` attribute under the `defaults` attribute in `profiles`:
```json
{
"profiles":
{
"defaults":
{
"fontFace": "MesloLGL Nerd Font"
}
}
}
```
:::
### 2. Install Oh my Posh
<Tabs