mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-12 14:04:05 -08:00
parent
035134a79a
commit
79035aafa9
|
@ -294,7 +294,7 @@ func (e *Engine) PrintExtraPrompt(promptType ExtraPromptType) string {
|
||||||
prompt = e.Config.SecondaryPrompt
|
prompt = e.Config.SecondaryPrompt
|
||||||
}
|
}
|
||||||
if prompt == nil {
|
if prompt == nil {
|
||||||
return ""
|
prompt = &ExtraPrompt{}
|
||||||
}
|
}
|
||||||
getTemplate := func(template string) string {
|
getTemplate := func(template string) string {
|
||||||
if len(template) != 0 {
|
if len(template) != 0 {
|
||||||
|
|
Loading…
Reference in a new issue