Skip to content

git prompt broken with some (multiline?) git config #1766

@desbma

Description

@desbma

When I add this in my git config (this is to configure the delta pager output, see chtenb/delta@603b807 for context):

[delta]
    minus-style = syntax "#330f0f"
    minus-emph-style = syntax "#4f1917"
    plus-style = syntax "#0e2f19"
    plus-emph-style = syntax "#174525"
    map-styles = \
       bold purple => syntax "#330f29", \
       bold blue => syntax "#271344", \
       bold cyan => syntax "#0d3531", \
       bold yellow => syntax "#222f14"
    zero-style = syntax
    whitespace-error-style = "#aaaaaa"

The git prompt does not show anymore. If I run killall gitstatusd it shows again, but will not on the next terminal.
If I has to guess I'd say gitstatusd fails to parse the multiline configuration entry.
Of course the git configuration is perfectly valid and git works as expected.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions