Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support git stuff? #7

Open
H4ckint0sh opened this issue Sep 11, 2023 · 5 comments
Open

Support git stuff? #7

H4ckint0sh opened this issue Sep 11, 2023 · 5 comments
Labels
blocked enhancement New feature or request help wanted Extra attention is needed

Comments

@H4ckint0sh
Copy link

Show git stuff in status bar? like Gitmux

@dj95 dj95 added the enhancement New feature or request label Sep 11, 2023
@dj95
Copy link
Owner

dj95 commented Sep 11, 2023

Cool idea! Would be neat to have this in the statusbar. Access to the .git/ folder seems to work. We just need a rust crate that is able to parse the information in there and is compatible with WASM.

@Piturnah
Copy link

Maybe gitoxide?

@dj95
Copy link
Owner

dj95 commented Sep 24, 2023

Gitoxide looks great. Unfortunately it is currently not compatible with WASM.

GitoxideLabs/gitoxide#463

Maybe we can utilise it as soon as it is compatible.

@dj95 dj95 added the help wanted Extra attention is needed label Nov 14, 2023
@danielyrovas
Copy link

In the meantime could we invoke gitmux directly if it is installed? I get an output from it which looks similar to what zjstatus expects:

#[fg=default]#[fg=default]#[fg=white,bold]⎇ #[fg=default]#[fg=white,bold]trunk #[fg=default]#[fg=cyan]origin/trunk#[fg=default] - #[fg=default]#[fg=green,bold]● 6 #[fg=red,bold]✚ 3#[fg=default,bg=default]%

@dj95
Copy link
Owner

dj95 commented Dec 12, 2023

Even though it looks similar, it is not compatible.

You either need to write a widget that supports tmux plugins or you could use the command widget to add git details to zjstatus. The latter one should be the easiest one

@dj95 dj95 added the blocked label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants