mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 04:54:03 -08:00
fix: fix typo and remove redundant parentheses
This commit is contained in:
parent
d1bd686674
commit
0b85aba8d8
|
@ -48,7 +48,7 @@ type SegmentWriter interface {
|
|||
Init(props properties.Properties, env environment.Environment)
|
||||
}
|
||||
|
||||
// SegmentStyle the syle of segment, for more information, see the constants
|
||||
// SegmentStyle the style of segment, for more information, see the constants
|
||||
type SegmentStyle string
|
||||
|
||||
// SegmentType the type of segment, for more information, see the constants
|
||||
|
@ -154,7 +154,7 @@ const (
|
|||
func (segment *Segment) shouldIncludeFolder() bool {
|
||||
cwdIncluded := segment.cwdIncluded()
|
||||
cwdExcluded := segment.cwdExcluded()
|
||||
return (cwdIncluded && !cwdExcluded)
|
||||
return cwdIncluded && !cwdExcluded
|
||||
}
|
||||
|
||||
func (segment *Segment) cwdIncluded() bool {
|
||||
|
|
Loading…
Reference in a new issue