added hostname var in ohmyposh
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user