dont show name unless its not us
This commit is contained in:
parent
87f7e3418c
commit
28ee12a6a1
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
||||||
"powerline_symbol": "\ue0b4",
|
"powerline_symbol": "\ue0b4",
|
||||||
"leading_diamond": "\ue0b6",
|
"leading_diamond": "\ue0b6",
|
||||||
"style": "diamond",
|
"style": "diamond",
|
||||||
"template": "{{.Icon}} ",
|
"template": "{{.Icon}}",
|
||||||
"type": "os"
|
"type": "os"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
"foreground": "p:text",
|
"foreground": "p:text",
|
||||||
"powerline_symbol": "\ue0b4",
|
"powerline_symbol": "\ue0b4",
|
||||||
"style": "diamond",
|
"style": "diamond",
|
||||||
"template": "{{ .UserName }}",
|
"template": "{{ if ne .UserName \"jonny\" }} {{ .UserName }}{{ end }}",
|
||||||
"type": "session"
|
"type": "session"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue