mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
refactor: replace root icon
This commit is contained in:
parent
6e89a0b878
commit
0f7b3cffb7
|
@ -18,7 +18,7 @@ Show when the current user is root or when in an elevated shell (Windows).
|
|||
"foreground": "#111111",
|
||||
"background": "#ffff66",
|
||||
"properties": {
|
||||
"root_icon": ""
|
||||
"root_icon": "\uF0E7"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
|
@ -15,7 +15,7 @@ func (rt *root) enabled() bool {
|
|||
}
|
||||
|
||||
func (rt *root) string() string {
|
||||
return rt.props.getString(RootIcon, "\uE20F")
|
||||
return rt.props.getString(RootIcon, "\uF0E7")
|
||||
}
|
||||
|
||||
func (rt *root) init(props *properties, env environmentInfo) {
|
||||
|
|
|
@ -72,7 +72,6 @@
|
|||
"foreground": "#CECE04",
|
||||
"properties": {
|
||||
"prefix": ""
|
||||
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -80,7 +79,6 @@
|
|||
"style": "plain",
|
||||
"foreground": "#100e23",
|
||||
"properties": {
|
||||
"prefix": "",
|
||||
"prefix": " "
|
||||
}
|
||||
},
|
||||
|
|
|
@ -95,16 +95,6 @@
|
|||
"prefix": " "
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "root",
|
||||
"style": "powerline",
|
||||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#111111",
|
||||
"background": "#ffff66",
|
||||
"properties": {
|
||||
"root_icon": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"style": "powerline",
|
||||
|
|
Loading…
Reference in a new issue