added hostname var in ohmyposh

This commit is contained in:
liph
2026-02-05 17:07:01 +01:00
parent 5a78d47050
commit b2194f79dd
3 changed files with 23 additions and 10 deletions

View File

@@ -20,6 +20,13 @@ type = 'prompt'
alignment = 'left'
newline = true
[[blocks.segments]]
template = '{{ .HostName }} '
foreground = 'magenta'
background = 'transparent'
type = 'text'
style = 'plain'
[[blocks.segments]]
template = '{{ .Path }}'
foreground = 'blue'