made all ssh shells show hostname instead
This commit is contained in:
@@ -37,7 +37,7 @@ template = '''
|
|||||||
[[blocks.segments]] # Hostname
|
[[blocks.segments]] # Hostname
|
||||||
type = 'text'
|
type = 'text'
|
||||||
style = 'plain'
|
style = 'plain'
|
||||||
template = '{{ if eq .HostName "server02" }}<green> {{.HostName}}</> <#7f849c>|</> {{ end }}'
|
template = '{{ if .Env.SSH_CLIENT }}<green> {{.HostName}}</> <#7f849c>|</> {{ end }}'
|
||||||
|
|
||||||
[[blocks.segments]] # Python venv
|
[[blocks.segments]] # Python venv
|
||||||
type = 'text'
|
type = 'text'
|
||||||
|
|||||||
Reference in New Issue
Block a user