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

power10k doesn't display git status. #2728

Open
Zixuan-QU opened this issue Jul 13, 2024 · 5 comments
Open

power10k doesn't display git status. #2728

Zixuan-QU opened this issue Jul 13, 2024 · 5 comments

Comments

@Zixuan-QU
Copy link

Zixuan-QU commented Jul 13, 2024

I'm using zsh + prezto, I have git module loaded in ~/.zpreztorc and set the theme to powerlevel10k.

Git status in the prompt works in some repo, however it almost never gets displayed in an android checkout repo.
How to make the git status to show in an android git repo?

@z0rc
Copy link

z0rc commented Jul 14, 2024

Dupe of #1554.

@Zixuan-QU
Copy link
Author

Zixuan-QU commented Jul 14, 2024

Dupe of #1554.

The fix (adding unset ZSH_AUTOSUGGEST_USE_ASYNC) in #1554 doesn't fix the problem that git status is not showing up in android repos.

Edited the question to remove the error logs as they seem to be red herring.

@romkatv
Copy link
Owner

romkatv commented Jul 14, 2024

See #2161 (comment) and romkatv/gitstatus#411.

@Zixuan-QU
Copy link
Author

Zixuan-QU commented Jul 14, 2024

Thanks for getting back! The git status worked 1 or 2 times before, but 99% of time it doesn't work.

The android repos doesn't seem to use sparse checkout or split index or SHA256, all of the following returns no output:

git config --get core.sparseCheckout
git config --get core.splitIndex
git config --get extensions.objectFormat

@romkatv
Copy link
Owner

romkatv commented Jul 15, 2024

It uses something but I don't remember what. You might be able to find it in past issues. The tl;dr is that gitststusd don't work in that repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants