theme(slim): remove session segment for default user

This commit is contained in:
Lawrence M 2022-08-18 02:57:18 -04:00 committed by GitHub
parent 04f7528f55
commit d100a7e55b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -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 "

View file

@ -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 "