mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-21 02:55:37 -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",
|
||||
"foreground": "#fafafa",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
|
@ -178,7 +178,7 @@
|
|||
],
|
||||
"console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}",
|
||||
"final_space": true,
|
||||
"transient_prompt": {
|
||||
"transient_prompt": {
|
||||
"background": "transparent",
|
||||
"foreground": "#7a7a7a",
|
||||
"template": " ~#@\u276f "
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
"background": "#2f2f2f",
|
||||
"foreground": "#fafafa",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
|
@ -176,7 +176,7 @@
|
|||
],
|
||||
"console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}",
|
||||
"final_space": true,
|
||||
"transient_prompt": {
|
||||
"transient_prompt": {
|
||||
"background": "transparent",
|
||||
"foreground": "#7a7a7a",
|
||||
"template": " ~#@\u276f "
|
||||
|
|
Loading…
Reference in a new issue