added server02 hostname block to ohmyposh
This commit is contained in:
@@ -34,6 +34,11 @@ template = '''
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
[[blocks.segments]] # Hostname
|
||||||
|
type = 'text'
|
||||||
|
style = 'plain'
|
||||||
|
template = '{{ if eq .HostName "server02" }}<green> {{.HostName}}</> <#7f849c>|</> {{ end }}'
|
||||||
|
|
||||||
[[blocks.segments]] # Python venv
|
[[blocks.segments]] # Python venv
|
||||||
type = 'text'
|
type = 'text'
|
||||||
style = 'plain'
|
style = 'plain'
|
||||||
|
|||||||
Reference in New Issue
Block a user