mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-14 04:38:00 -08:00
parent
9a9721a38d
commit
11da129799
|
@ -171,6 +171,9 @@ const (
|
|||
)
|
||||
|
||||
func (segment *Segment) shouldIncludeFolder() bool {
|
||||
if segment.env == nil {
|
||||
return true
|
||||
}
|
||||
cwdIncluded := segment.cwdIncluded()
|
||||
cwdExcluded := segment.cwdExcluded()
|
||||
return cwdIncluded && !cwdExcluded
|
||||
|
|
Loading…
Reference in a new issue