oh-my-posh/website/docs/segments/system/upgrade.mdx
2024-11-04 12:15:40 +01:00

42 lines
740 B
Plaintext

---
id: upgrade
title: Upgrade notice
sidebar_label: Upgrade
---
## What
Displays when there's an update available for Oh My Posh.
## Sample Configuration
import Config from "@site/src/components/Config.js";
<Config
data={{
type: "upgrade",
style: "plain",
foreground: "#111111",
background: "#FFD664",
}}
/>
## Template ([info][templates])
:::note default template
```template
\uf019
```
:::
### Properties
| Name | Type | Description |
| ---------- | -------- | ----------------------------------- |
| `.Current` | `string` | the current version number |
| `.Latest` | `string` | the latest available version number |
[templates]: /docs/configuration/templates