Closed rajayonin closed 3 weeks ago
@rajayonin could it be you added the incorrect color override closing tag? <\>
should be </>
.
Oh my god, you're right. I spent hours on this...
Thank you so much, and sorry for the inconvenience. Again, fantastic project.
Code of Conduct
What happened?
I want to have my git status in the prompt, but both
.Staging.String
and.Working.String
displays all the information in one color, as you can see here:The documentation mentions that you can modify the
status_formats
property in order to format the git string, so I thought I could use that, in combination with a color override, to give each type (modified, untracked, etc.) its own color.To do that, I just add to my git segment:
Doing that the colors of the status string appear correctly, but the problem is that it also messes up the colors for the rest of the current segment, and the following segments, as you can see here:
Thanks in advance for such a wonderful prompt theme engine.
Theme
What OS are you seeing the problem on?
Linux
Which shell are you using?
zsh
Log output