oh-my-posh/docs/docs/segment-text.md
2020-10-16 11:18:19 -07:00

409 B

id title sidebar_label
text Text Text

What

Display text.

Sample Configuration

{
  "type": "text",
  "style": "plain",
  "foreground": "#E06C75",
  "properties": {
    "prefix": "",
    "text": " \u276F"
  }
}

Properties

  • text: string - text/icon to display. Accepts coloring foreground just like prefix and postfix.