oh-my-posh/website/docs/segments/root.mdx

35 lines
460 B
Plaintext
Raw Normal View History

2020-10-05 02:33:12 -07:00
---
id: root
title: Root
sidebar_label: Root
---
## What
Show when the current user is root or when in an elevated shell (Windows).
## Sample Configuration
```json
{
"type": "root",
"style": "powerline",
2020-10-15 23:37:43 -07:00
"powerline_symbol": "\uE0B0",
2020-10-05 02:33:12 -07:00
"foreground": "#111111",
"background": "#ffff66",
2022-03-27 01:12:47 -07:00
"template": "\uF0E7"
2020-10-05 02:33:12 -07:00
}
```
2022-02-01 03:10:46 -08:00
## Template ([info][templates])
:::note default template
``` template
\uF0E7
```
:::
2022-04-20 09:43:59 -07:00
[templates]: /docs/configuration/templates