docs(font): install as admin

This commit is contained in:
Jan De Dobbeleer 2022-06-03 16:47:56 +02:00 committed by Jan De Dobbeleer
parent 1fba9d563c
commit 51754843f4
8 changed files with 12 additions and 8 deletions

View file

@ -72,7 +72,7 @@ you notice black elements in Windows Terminal or the Visual Studio Code integrat
- accent_color: `string` [color][colors] - accent color, used as a fallback when the `accent` [color][accent] is not supported - accent_color: `string` [color][colors] - accent color, used as a fallback when the `accent` [color][accent] is not supported
[releases]: https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest [releases]: https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest
[font]: /docs/configuration/fonts [font]: /docs/installation/fonts
[schema]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/schema.json [schema]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/schema.json
[themes]: https://github.com/JanDeDobbeleer/oh-my-posh/tree/main/themes [themes]: https://github.com/JanDeDobbeleer/oh-my-posh/tree/main/themes
[colors]: /docs/configuration/colors [colors]: /docs/configuration/colors

View file

@ -203,7 +203,7 @@ $OutputEncoding = [console]::InputEncoding = [console]::OutputEncoding = New-Obj
[wt-glyph]: https://github.com/microsoft/terminal/issues/3546 [wt-glyph]: https://github.com/microsoft/terminal/issues/3546
[wt-glyphs]: https://github.com/microsoft/terminal/issues?q=is%3Aissue+is%3Aopen+unicode+width [wt-glyphs]: https://github.com/microsoft/terminal/issues?q=is%3Aissue+is%3Aopen+unicode+width
[nf]: https://www.nerdfonts.com/ [nf]: https://www.nerdfonts.com/
[font]: /docs/configuration/fonts [font]: /docs/installation/fonts
[jb-icons]: https://youtrack.jetbrains.com/issue/IDEA-248010 [jb-icons]: https://youtrack.jetbrains.com/issue/IDEA-248010
[migrating]: /docs/migrating [migrating]: /docs/migrating
[wt-vim]: https://github.com/microsoft/terminal/issues/3794 [wt-vim]: https://github.com/microsoft/terminal/issues/3794

View file

@ -1,7 +1,7 @@
--- ---
id: fonts id: fonts
title: Fonts title: Fonts
sidebar_label: Fonts sidebar_label: 🔤 Fonts
--- ---
### Nerd Fonts ### Nerd Fonts
@ -15,6 +15,10 @@ To see the icons displayed in Oh My Posh, **install** a [Nerd Font][nerdfonts],
Oh My Posh has a CLI to help you select and install a [Nerd Font][nerdfonts] (beta): Oh My Posh has a CLI to help you select and install a [Nerd Font][nerdfonts] (beta):
:::warning Windows
This command needs to be executed as admin. The fonts are installed system wide.
:::
```bash ```bash
oh-my-posh font install oh-my-posh font install
``` ```

View file

@ -58,7 +58,7 @@ rm ~/.poshthemes/themes.zip
</TabItem> </TabItem>
</Tabs> </Tabs>
[fonts]: /docs/configuration/fonts [fonts]: /docs/installation/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

@ -21,7 +21,7 @@ To display all icons, we recommend the use of a [Nerd Font][fonts].
<InstallHomebrew /> <InstallHomebrew />
[fonts]: /docs/configuration/fonts [fonts]: /docs/installation/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

@ -159,7 +159,7 @@ when setting the prompt using the `--config` flag.
</TabItem> </TabItem>
</Tabs> </Tabs>
[fonts]: /docs/configuration/fonts [fonts]: /docs/installation/fonts
[scoop]: https://scoop.sh/ [scoop]: https://scoop.sh/
[wt]: https://github.com/microsoft/terminal [wt]: https://github.com/microsoft/terminal
[linux]: /docs/installation/linux [linux]: /docs/installation/linux

View file

@ -17,7 +17,7 @@ Once you're ready to swap to a theme, follow the steps described in [🚀 Get st
Themes with `minimal` in their names do not require a Nerd Font. Read about [🆎Fonts][fonts] for more information. Themes with `minimal` in their names do not require a Nerd Font. Read about [🆎Fonts][fonts] for more information.
[themes]: https://github.com/JanDeDobbeleer/oh-my-posh/tree/main/themes [themes]: https://github.com/JanDeDobbeleer/oh-my-posh/tree/main/themes
[fonts]: /docs/configuration/fonts [fonts]: /docs/installation/fonts
[installation-customize]: /docs/installation/customize [installation-customize]: /docs/installation/customize
<!-- Do not change the content below, themes are rendered automatically --> <!-- Do not change the content below, themes are rendered automatically -->

View file

@ -21,6 +21,7 @@ module.exports = {
"installation/linux", "installation/linux",
], ],
}, },
"installation/fonts",
"installation/prompt", "installation/prompt",
"installation/customize", "installation/customize",
], ],
@ -43,7 +44,6 @@ module.exports = {
"configuration/transient", "configuration/transient",
"configuration/line-error", "configuration/line-error",
"configuration/tooltips", "configuration/tooltips",
"configuration/fonts",
], ],
}, },
{ {