fixed oh-my-posh promt order
This commit is contained in:
parent
ae0181148b
commit
deaff85de5
@ -37,7 +37,6 @@ type = "prompt"
|
|||||||
style = "full"
|
style = "full"
|
||||||
home_icon = "~"
|
home_icon = "~"
|
||||||
|
|
||||||
|
|
||||||
[[blocks]]
|
[[blocks]]
|
||||||
alignment = "right"
|
alignment = "right"
|
||||||
type = "prompt"
|
type = "prompt"
|
||||||
@ -62,6 +61,11 @@ type = "prompt"
|
|||||||
trailing_diamond = ""
|
trailing_diamond = ""
|
||||||
template = " {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}} "
|
template = " {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}} "
|
||||||
|
|
||||||
|
[[blocks]]
|
||||||
|
alignment = "left"
|
||||||
|
type = "prompt"
|
||||||
|
newline = true
|
||||||
|
|
||||||
# Newline prompt
|
# Newline prompt
|
||||||
[[blocks.segments]]
|
[[blocks.segments]]
|
||||||
type = "status"
|
type = "status"
|
||||||
@ -71,10 +75,11 @@ type = "prompt"
|
|||||||
"{{ if .Error }}p:status_failure{{ end }}",
|
"{{ if .Error }}p:status_failure{{ end }}",
|
||||||
"{{ if not .Error}}p:status_success{{ end }}"
|
"{{ if not .Error}}p:status_success{{ end }}"
|
||||||
]
|
]
|
||||||
template = "\n❯"
|
template = "❯"
|
||||||
[blocks.segments.properties]
|
[blocks.segments.properties]
|
||||||
always_enabled = true
|
always_enabled = true
|
||||||
|
|
||||||
|
|
||||||
[transient_prompt]
|
[transient_prompt]
|
||||||
foreground = "p:status_success"
|
foreground = "p:status_success"
|
||||||
template = "❯ "
|
template = "❯ "
|
||||||
|
Loading…
Reference in New Issue
Block a user