pure icon indicating copy to clipboard operation
pure copied to clipboard

Make git status to be async like in hydro

Open DoctorRainer opened this issue 7 months ago • 3 comments

It would be cool if we didn't have to wait for git status like https://github.com/jorgebucaran/hydro implemented it.

DoctorRainer avatar May 22 '25 20:05 DoctorRainer

@DoctorRyner that will be a nice improvement. I don't work with massive repo myself, but I'm open to PR and discuss there.

My understanding is that @jorgebucaran computes the content of the git status in a subprocess (fish --private) triggered on fish_prompt rendering and sets the universal variable _hydro_git.

edouard-lopez avatar May 25 '25 21:05 edouard-lopez

it is already async you have to install async plugin for fish and add: set -g async_prompt_functions _pure_prompt_git in your config

phush0 avatar Jul 28 '25 10:07 phush0

@phush0 I'm also talking about this being out of the box

DoctorRainer avatar Jul 29 '25 21:07 DoctorRainer