New template for path in omp.
This commit is contained in:
parent
0985bdab2b
commit
7543214e70
@ -30,7 +30,7 @@ alignment = 'left'
|
||||
style = 'plain'
|
||||
background = 'transparent'
|
||||
foreground = '37'
|
||||
template = '{{ if not .Writable }} {{ end }}{{ .Path }} '
|
||||
template = '{{ if not .Writable }} {{ end }}{{ $segment := .Segments.Git }}{{ if $segment.Dir }}{{ $segment.RepoName}}{{if ne $segment.RepoName .Path}}{{ trimPrefix $segment.Dir .PWD }}{{ end }}{{ else }}{{ .Path }}{{ end }} '
|
||||
|
||||
[blocks.segments.properties]
|
||||
style = 'full'
|
||||
|
Loading…
Reference in New Issue
Block a user