docs: highlight the use of Nerd Fonts

relates to #1464
This commit is contained in:
Jan De Dobbeleer 2021-12-19 11:20:27 +01:00 committed by Jan De Dobbeleer
parent cac08a57aa
commit 384d0046f7
4 changed files with 22 additions and 4 deletions

View file

@ -27,7 +27,10 @@ by modifying the Windows Terminal settings (default shortcut: `CTRL + SHIFT + ,`
{ {
"defaults": "defaults":
{ {
"fontFace": "MesloLGM NF" "font":
{
"face": "MesloLGM NF"
}
} }
} }
} }

View file

@ -16,6 +16,10 @@ import InstallHomebrew from "./install-homebrew.mdx";
Oh My Posh uses ANSI color codes under the hood, these should work in every terminal, Oh My Posh uses ANSI color codes under the hood, these should work in every terminal,
but you may have to set the environment variable `$TERM` to `xterm-256color` for it to work. but you may have to set the environment variable `$TERM` to `xterm-256color` for it to work.
:::info
To display all icons, we recommend the use of a [Nerd Font][fonts].
:::
## Installation ## Installation
<Tabs <Tabs
@ -72,9 +76,10 @@ When you've downloaded the themes, you can find this one at `~/.poshthemes/jande
🎉🎉🎉 🎉🎉🎉
[fonts]: /docs/config-fonts
[scoop]: https://scoop.sh/ [scoop]: https://scoop.sh/
[wt]: https://github.com/microsoft/terminal [wt]: https://github.com/microsoft/terminal
[iterm2]: https://www.iterm2.com/ [iterm2]: https://www.iterm2.com/
[powershell]: https://www.powershellgallery.com/packages/oh-my-posh [powershell]: https://www.powershellgallery.com/packages/oh-my-posh
[configuration]: /docs/config-overview [configuration]: /docs/config-overview
[themes]: https://ohmyposh.dev/docs/themes [themes]: /docs/themes

View file

@ -16,6 +16,10 @@ import InstallHomebrew from "./install-homebrew.mdx";
As the standard terminal has issues displaying the ANSI characters correctly, we advise using As the standard terminal has issues displaying the ANSI characters correctly, we advise using
[iTerm2][iterm2] or any other modern day MacOS terminal that supports ANSI characters. [iTerm2][iterm2] or any other modern day MacOS terminal that supports ANSI characters.
:::info
To display all icons, we recommend the use of a [Nerd Font][fonts].
:::
## Installation ## Installation
<InstallHomebrew /> <InstallHomebrew />
@ -30,6 +34,7 @@ As the standard terminal has issues displaying the ANSI characters correctly, we
🎉🎉🎉 🎉🎉🎉
[fonts]: /docs/config-fonts
[scoop]: https://scoop.sh/ [scoop]: https://scoop.sh/
[wt]: https://github.com/microsoft/terminal [wt]: https://github.com/microsoft/terminal
[iterm2]: https://www.iterm2.com/ [iterm2]: https://www.iterm2.com/

View file

@ -14,6 +14,10 @@ import CustomizeCmd from "./install-customize-cmd.mdx";
While Oh My Posh works on the standard terminal, we advise using the [Windows Terminal][wt]. While Oh My Posh works on the standard terminal, we advise using the [Windows Terminal][wt].
:::info
To display all icons, we recommend the use of a [Nerd Font][fonts].
:::
## Install ## Install
<Tabs <Tabs
@ -183,10 +187,11 @@ Inside the WSL, replace `~` with the following path: `/mnt/c/Users/<WINDOWSUSERN
🎉🎉🎉 🎉🎉🎉
[fonts]: /docs/config-fonts
[scoop]: https://scoop.sh/ [scoop]: https://scoop.sh/
[wt]: https://github.com/microsoft/terminal [wt]: https://github.com/microsoft/terminal
[powershell]: https://www.powershellgallery.com/packages/oh-my-posh [powershell]: https://www.powershellgallery.com/packages/oh-my-posh
[cc]: https://github.com/digitalcoyote [cc]: https://github.com/digitalcoyote
[cc-choco]: https://github.com/digitalcoyote/chocolatey-packages/tree/master/oh-my-posh [cc-choco]: https://github.com/digitalcoyote/chocolatey-packages/tree/master/oh-my-posh
[linux]: https://ohmyposh.dev/docs/linux [linux]: /docs/linux
[themes]: https://ohmyposh.dev/docs/themes [themes]: /docs/themes