Spaceship-prompt: [New Feature] Count for uncommitted changes

Created on 10 Oct 2018  路  3Comments  路  Source: denysdovhan/spaceship-prompt

Is your feature request related to a problem? Please describe.
no

Is your feature request related to new section on prompt? Then consider the following questions:

  • Will it clutter the prompt?
    no

  • Is it worth to be aware of it?
    yes

  • Will it slow down the prompt?
    no

Describe the solution you'd like

We need a separate macro for uncommitted changes for the git. Even better if it can show us number of changes that need to be committed.

Edi: Removed template elements

proposal

Most helpful comment

IMO adding count to the uncommited git indicator would make the section non-uniform compared to other indicator and would make it ambiguous to which indicator the count belongs. The same argument could be said for every indicator, Like number of untracked files etc,. So personally I'm against adding count to section.

All 3 comments

git_status section shows you when something is not committed, have you seen it?

yes but it shows just a symbole ( + ? ) not the number of file to commit

IMO adding count to the uncommited git indicator would make the section non-uniform compared to other indicator and would make it ambiguous to which indicator the count belongs. The same argument could be said for every indicator, Like number of untracked files etc,. So personally I'm against adding count to section.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

salmanulfarzy picture salmanulfarzy  路  3Comments

gillesdemey picture gillesdemey  路  3Comments

ChadTaljaardt picture ChadTaljaardt  路  4Comments

Vvkmnn picture Vvkmnn  路  3Comments

AlecRust picture AlecRust  路  3Comments