From 676fdbea0e437581829e7d40d15edb49323c496c Mon Sep 17 00:00:00 2001 From: voidarc Date: Wed, 26 Aug 2026 14:24:30 +0100 Subject: [PATCH] made all ssh shells show hostname instead --- modules/features/zsh/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/features/zsh/config.toml b/modules/features/zsh/config.toml index 7c6eabd..268f8dd 100644 --- a/modules/features/zsh/config.toml +++ b/modules/features/zsh/config.toml @@ -37,7 +37,7 @@ template = ''' [[blocks.segments]] # Hostname type = 'text' style = 'plain' - template = '{{ if eq .HostName "server02" }}󰒋 {{.HostName}} <#7f849c>| {{ end }}' + template = '{{ if .Env.SSH_CLIENT }}󰒋 {{.HostName}} <#7f849c>| {{ end }}' [[blocks.segments]] # Python venv type = 'text'