Menu
Oh my Posh LogoOh my Posh LogoOh my PoshDocs
GitHub
๐ŸŒœ
๐ŸŒž
Oh my Posh LogoOh my Posh LogoOh my Posh
  • Docs
  • GitHub
  • Getting Started
    • ๐Ÿ‘‹ Introduction
    • ๐Ÿค˜ Upgrading from V2
    • ๐Ÿš€ Installation
    • โš™๏ธ Configuration
    • ๐ŸŽจ Themes
  • Segments
    • AWS
    • Azure
    • Battery
    • Command
    • Dotnet
    • Environment Variable
    • Execution Time
    • Exit code
    • Git
    • Golang
    • Julia
    • Kubectl
    • Node
    • OS
    • Path
    • Python
    • Root
    • Ruby
    • Session
    • Shell
    • Spotify
    • Terraform
    • Text
    • Time
    • YouTube Music
  • Contributing
    • Get Started
    • Add Segment

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.
Edit this page
Previous
ยซ Terraform Context
Next
Time ยป
  • What
  • Sample Configuration
  • Properties

How to

  • Getting started
  • Packages
  • Contributing

Social

  • GitHub
  • Twitter

Links

  • Support
  • Docusaurus
Copyright ยฉ 2021 Jan De Dobbeleer.