chris-marsh / pureline

A Pure Bash Powerline PS1 Command Prompt
MIT License
507 stars 95 forks source link

Various Git improvement #5

Closed dzamlo closed 6 years ago

chris-marsh commented 6 years ago

I like the git functions. I think the display/symbols need something more as the ahead/behind is not immediately obvious what the prompt is showing. ( screen10

dzamlo commented 6 years ago

I agree that the symbols for the ahead/behind need to be improved. I tried using Unicode arrow ( like ↑ ) but this was really not legible. Maybe the simple 'A' and 'B' may be a better idea ?

chris-marsh commented 6 years ago

zsh-git-prompt use those arrows, but they aren't very distinct with my fonts either. These unicode triangles seem well supported;

▲ - U+25B2 BLACK UP-POINTING TRIANGLE ▼ - U+25BC BLACK DOWN-POINTING TRIANGLE

I prefer these, but I'm not sure how common they are;

⮝ - U+2B9D ⮟ - U+2B9F

dzamlo commented 6 years ago

⮝ - U+2B9D and ⮟ - U+2B9F seems to not be very common, for example they doesn't work on my Android phone. On the other hand, that also true of some other symbols used by pureline.