Skip to content

Commit

Permalink
docs: instructions to set font in Windows Terminal
Browse files Browse the repository at this point in the history
Instructions to modify settings.json to set default font.
  • Loading branch information
jantielens authored and JanDeDobbeleer committed Mar 10, 2021
1 parent 95e796e commit 6ed5402
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/docs/installation.mdx
Expand Up @@ -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
Expand Down

0 comments on commit 6ed5402

Please sign in to comment.