mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 20:39:40 -08:00
refactor: use correct formatting
This commit is contained in:
parent
836763c002
commit
8a925b80a3
|
@ -18,6 +18,7 @@ type engine struct {
|
||||||
rprompt string
|
rprompt string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// SegmentTiming holds the timing context for a segment
|
||||||
type SegmentTiming struct {
|
type SegmentTiming struct {
|
||||||
name string
|
name string
|
||||||
nameLength int
|
nameLength int
|
||||||
|
|
|
@ -21,9 +21,9 @@ const (
|
||||||
DisplayModeAlways string = "always"
|
DisplayModeAlways string = "always"
|
||||||
// DisplayModeContext displays the segment when the current folder contains certain extensions
|
// DisplayModeContext displays the segment when the current folder contains certain extensions
|
||||||
DisplayModeContext string = "context"
|
DisplayModeContext string = "context"
|
||||||
// MissingCommandProperty sets the text to display when the command is not present in the system
|
// MissingCommandTextProperty sets the text to display when the command is not present in the system
|
||||||
MissingCommandTextProperty Property = "missing_command_text"
|
MissingCommandTextProperty Property = "missing_command_text"
|
||||||
// MissingCommand displays empty string by default
|
// MissingCommandText displays empty string by default
|
||||||
MissingCommandText string = ""
|
MissingCommandText string = ""
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue