refactor: add font context to docs

This commit is contained in:
Jan De Dobbeleer 2020-10-22 14:10:09 +02:00 committed by Jan De Dobbeleer
parent ab1e812c06
commit 72662eadc0
2 changed files with 11 additions and 2 deletions

View file

@ -12,8 +12,10 @@ import TabItem from "@theme/TabItem";
Oh my Posh uses ANSI color codes under the hood, these should work everywhere,
but you may have to set `$TERM` to `xterm-256color` for it to work.
For maximum enjoyment, make sure to install a powerline enabled font. The fonts I use are patched by [Nerd Fonts][nerdfonts],
which offers a maximum of icons you can use to configure your prompt.
:::caution Font icons
For maximum enjoyment, make sure to **install** and **configure** your terminal to use a powerline enabled font.
The fonts we use are patched by [Nerd Fonts][nerdfonts], which offer a maximum of icons you can use to configure your prompt.
:::
Oh my Posh was designed using [Meslo LGM NF][meslo], so if you happen to see missing icons either change to that font or replace the icons
by changing the [theme][themes] to your liking.

View file

@ -6,6 +6,11 @@ sidebar_label: PowerShell
A package that includes useful helper functions to install and configure Oh my Posh.
:::caution Font icons
For maximum enjoyment, make sure to **install** and **configure** your terminal to use a powerline enabled font.
The fonts we use are patched by [Nerd Fonts][nerdfonts], which offer a maximum of icons you can use to configure your prompt.
:::
## Installation
```powershell
@ -38,3 +43,5 @@ Useful when you find a theme you like, but you want to tweak the settings a bit.
```powershell
Write-PoshTheme
```
[nerdfonts]: https://www.nerdfonts.com/