added hostname var in ohmyposh
This commit is contained in:
1 parent
5a78d47050
commit
b2194f79dd
3 files changed
+23
-10
No files matched your search
@@ -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