made all ssh shells show hostname instead

This commit is contained in:
2026-08-26 14:24:30 +01:00
parent 85d4610988
commit 676fdbea0e

View File

@@ -37,7 +37,7 @@ template = '''
[[blocks.segments]] # Hostname
type = 'text'
style = 'plain'
template = '{{ if eq .HostName "server02" }}<green>󰒋 {{.HostName}}</> <#7f849c>|</> {{ end }}'
template = '{{ if .Env.SSH_CLIENT }}<green>󰒋 {{.HostName}}</> <#7f849c>|</> {{ end }}'
[[blocks.segments]] # Python venv
type = 'text'