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