mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-03-05 20:49:04 -08:00
theme(slim): remove session segment for default user
This commit is contained in:
parent
04f7528f55
commit
d100a7e55b
|
@ -33,7 +33,7 @@
|
||||||
"background": "#2f2f2f",
|
"background": "#2f2f2f",
|
||||||
"foreground": "#fafafa",
|
"foreground": "#fafafa",
|
||||||
"style": "diamond",
|
"style": "diamond",
|
||||||
"template": " {{ if ne .Env.POSH_SESSION_DEFAULT_USER .UserName }}<#77f5d6>{{ .UserName }}</><#7a7a7a>\uf1fa</><#2EEFBF>{{ end }}{{ .HostName }}</><#7a7a7a> \ue0b1</>",
|
"template": " {{ if ne .Env.POSH_SESSION_DEFAULT_USER .UserName }}<#77f5d6>{{ .UserName }}</><#7a7a7a>\uf1fa</>{{ end }}<#2EEFBF>{{ .HostName }}</><#7a7a7a> \ue0b1</>",
|
||||||
"type": "session"
|
"type": "session"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -178,7 +178,7 @@
|
||||||
],
|
],
|
||||||
"console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}",
|
"console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}",
|
||||||
"final_space": true,
|
"final_space": true,
|
||||||
"transient_prompt": {
|
"transient_prompt": {
|
||||||
"background": "transparent",
|
"background": "transparent",
|
||||||
"foreground": "#7a7a7a",
|
"foreground": "#7a7a7a",
|
||||||
"template": " ~#@\u276f "
|
"template": " ~#@\u276f "
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
"background": "#2f2f2f",
|
"background": "#2f2f2f",
|
||||||
"foreground": "#fafafa",
|
"foreground": "#fafafa",
|
||||||
"style": "diamond",
|
"style": "diamond",
|
||||||
"template": " {{ if ne .Env.POSH_SESSION_DEFAULT_USER .UserName }}<#77f5d6>{{ .UserName }}</><#7a7a7a>\uf1fa</><#2EEFBF>{{ .HostName }}{{ end }}</><#7a7a7a> \ue0b1</>",
|
"template": " {{ if ne .Env.POSH_SESSION_DEFAULT_USER .UserName }}<#77f5d6>{{ .UserName }}</><#7a7a7a>\uf1fa</>{{ end }}<#2EEFBF>{{ .HostName }}</><#7a7a7a> \ue0b1</>",
|
||||||
"type": "session"
|
"type": "session"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -176,7 +176,7 @@
|
||||||
],
|
],
|
||||||
"console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}",
|
"console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}",
|
||||||
"final_space": true,
|
"final_space": true,
|
||||||
"transient_prompt": {
|
"transient_prompt": {
|
||||||
"background": "transparent",
|
"background": "transparent",
|
||||||
"foreground": "#7a7a7a",
|
"foreground": "#7a7a7a",
|
||||||
"template": " ~#@\u276f "
|
"template": " ~#@\u276f "
|
||||||
|
|
Loading…
Reference in a new issue