mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-29 04:49:39 -08:00
f891a26fe9
resolves #5171
35 lines
519 B
Plaintext
35 lines
519 B
Plaintext
---
|
|
id: root
|
|
title: Root
|
|
sidebar_label: Root
|
|
---
|
|
|
|
## What
|
|
|
|
Show when the current user is root or when in an elevated shell (Windows).
|
|
|
|
## Sample Configuration
|
|
|
|
import Config from '@site/src/components/Config.js';
|
|
|
|
<Config data={{
|
|
"type": "root",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#111111",
|
|
"background": "#ffff66",
|
|
"template": "\uF0E7"
|
|
}}/>
|
|
|
|
## Template ([info][templates])
|
|
|
|
:::note default template
|
|
|
|
``` template
|
|
\uF0E7
|
|
```
|
|
|
|
:::
|
|
|
|
[templates]: /docs/configuration/templates
|