add username to ohmyposh config
This commit is contained in:
@@ -27,6 +27,13 @@ background = 'transparent'
|
|||||||
type = 'text'
|
type = 'text'
|
||||||
style = 'plain'
|
style = 'plain'
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
template = '{{ .UserName }} '
|
||||||
|
foreground = 'magenta'
|
||||||
|
background = 'transparent'
|
||||||
|
type = 'text'
|
||||||
|
style = 'plain'
|
||||||
|
|
||||||
[[blocks.segments]]
|
[[blocks.segments]]
|
||||||
template = '{{ .Path }}'
|
template = '{{ .Path }}'
|
||||||
foreground = 'blue'
|
foreground = 'blue'
|
||||||
|
|||||||
Reference in New Issue
Block a user