mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 04:54:03 -08:00
docs: instructions to set font in Windows Terminal
Instructions to modify settings.json to set default font.
This commit is contained in:
parent
95e796e2f3
commit
6ed5402ef6
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue