From 12913b0cc5ecf9208710abb6e151003cb7698bda Mon Sep 17 00:00:00 2001 From: Mikael CAPELLE Date: Mon, 17 Jul 2023 10:36:02 +0200 Subject: [PATCH] Add hostname to theme for SSH. --- theme.omp.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme.omp.json b/theme.omp.json index e4c5a27..a7301ba 100644 --- a/theme.omp.json +++ b/theme.omp.json @@ -27,7 +27,7 @@ "type": "session", "style": "plain", "foreground": "#ffffff", - "template": " {{ if .SSHSession }}\udb80\udf18 {{ end }}{{ .UserName }}", + "template": " {{ if .SSHSession }}\udb80\udf18 {{ end }}{{ .UserName }}{{ if .SSHSession }}@{{ .HostName }}{{ end }}", "properties": { "display_host": false }