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

35 lines
519 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
2023-03-31 11:55:36 -07:00
import Config from '@site/src/components/Config.js';
<Config data={{
2020-10-05 02:33:12 -07:00
"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"
2023-03-31 11:55:36 -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