jorgebucaran / hydro

Ultra-pure, lag-free prompt with async Git status—just for Fish
MIT License
697 stars 53 forks source link

Add dirty count to git dirty indicator #44

Open ankurkotwal opened 1 year ago

ankurkotwal commented 1 year ago

If a file is added, deleted or modified, the git dirty status indicator will now show the count.

ankurkotwal commented 1 year ago

@jorgebucaran I added a commit that keeps this functionality fast if the user doesn't want the dirty count.

PatrickF1 commented 7 months ago

Hi @jorgebucaran, any updates? This is the only thing preventing me from adopting Hydro. Thank you for maintaining Hydro, sorry for the ping :)

jorgebucaran commented 7 months ago

Thanks for the ping! I want to take a shot at it myself. In the meantime, try fisher install ankurkotwal/hydro.

Could I have a description of this feature? What do you need exactly?

PatrickF1 commented 7 months ago

I want to know exactly how many files in my git repo are staged, unstaged, or untracked.

jorgebucaran commented 7 months ago

What would that look like? Do you have an example I can see, or go ahead and type it out.

PatrickF1 commented 7 months ago

Sure, this is from tide. +2 = staged, !3 = unstaged, ?1 = untracked Screenshot 2024-04-01 at 10 24 30 AM

jorgebucaran commented 7 months ago

Hmm. We gon need a PdM. 😂

PatrickF1 commented 7 months ago

What's PdM?