mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 13:04:04 -08:00
parent
c88c4eb049
commit
2f0bd54087
|
@ -346,7 +346,7 @@ func (segment *Segment) string() string {
|
|||
var templatesResult string
|
||||
if !segment.Templates.Empty() {
|
||||
templatesResult = segment.Templates.Resolve(segment.writer, segment.env, "", segment.TemplatesLogic)
|
||||
if len(templatesResult) != 0 && len(segment.Template) == 0 {
|
||||
if len(segment.Template) == 0 {
|
||||
return templatesResult
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue