fix(docs): fonts under installation

This commit is contained in:
ehawman-rosenberg 2022-06-04 17:40:50 -05:00 committed by Jan De Dobbeleer
parent 1aa7e058f8
commit a88bea85c2

View file

@ -5,7 +5,7 @@ sidebar_label: General
--- ---
import Tabs from "@theme/Tabs"; import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem" import TabItem from "@theme/TabItem";
Oh My Posh renders your prompt based on the definition of _blocks_ (like Lego) which contain one or more _segments_. Oh My Posh renders your prompt based on the definition of _blocks_ (like Lego) which contain one or more _segments_.
A really simple configuration could look like this. The default format is `json`, but we also support `toml` and `yaml`. A really simple configuration could look like this. The default format is `json`, but we also support `toml` and `yaml`.
@ -59,16 +59,16 @@ starting point to create your own configuration.
# yaml-language-server: $schema=https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json # yaml-language-server: $schema=https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
final_space: true final_space: true
blocks: blocks:
- type: prompt - type: prompt
alignment: left alignment: left
segments: segments:
- type: path - type: path
style: powerline style: powerline
powerline_symbol: "" powerline_symbol: ""
foreground: "#ffffff" foreground: "#ffffff"
background: "#61AFEF" background: "#61AFEF"
properties: properties:
style: folder style: folder
``` ```
</TabItem> </TabItem>
@ -126,7 +126,7 @@ For example, the following is a valid `--config` flag:
- final_space: `boolean` - when true adds a space at the end of the prompt - final_space: `boolean` - when true adds a space at the end of the prompt
- osc99: `boolean` - when true adds support for OSC9;9; (notify terminal of current working directory) - osc99: `boolean` - when true adds support for OSC9;9; (notify terminal of current working directory)
- terminal_background: `string` [color][colors] - terminal background color, set to your terminal's background color when - terminal_background: `string` [color][colors] - terminal background color, set to your terminal's background color when
you notice black elements in Windows Terminal or the Visual Studio Code integrated terminal you notice black elements in Windows Terminal or the Visual Studio Code integrated terminal
- 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
### JSON Schema Validation ### JSON Schema Validation
@ -175,7 +175,7 @@ While for yaml:
Converters won't catch this change, so you will need to adjust manually. Converters won't catch this change, so you will need to adjust manually.
[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