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

Git section not showing #1330

Open
Cluyverth opened this issue Feb 16, 2023 · 5 comments
Open

Git section not showing #1330

Cluyverth opened this issue Feb 16, 2023 · 5 comments
Labels
bug Bug related to code base, behavior, displaying, etc.

Comments

@Cluyverth
Copy link

Cluyverth commented Feb 16, 2023

The problem

# I'm using WSL2 with Ubuntu 22.04.1 LTS

# Installation method is using oh-my-zsh

# zsh 5.8.1 (X86_64-ubuntu-linux-gnu)

# This is my spaceship theme when I open my project that has git:

Screenshot_20230215_101854

# This is what I have in my .zshrc file:

Screenshot_20230215_095909
Screenshot_20230215_095931

# This is what I have in my .spaceshiprc.zsh file:

Screenshot_20230215_102023
Screenshot_20230215_100501

I already try using the solution in this issue #1295

Relevant Zsh configuration

$HOME/.zshrc

What is version of Spaceship are you using?

4.13.1

What is version of Zsh are you using?

zsh 5.8.1 (x86_64-ubuntu-linux-gnu)

What operation system are you running?

Linux Ubuntu 22.04.1 LTS

Do you use any Zsh framework or plugin manager?

oh-my-posh

Which terminal emulator do you use?

Terminal from windows (I'm using WSL2)

Additional information

No response

@Cluyverth Cluyverth added the bug Bug related to code base, behavior, displaying, etc. label Feb 16, 2023
@Cluyverth
Copy link
Author

I found something, when I change the default SPACESHIP_PROMPT_ASYNC config to false

the git section shows up, but the load of the theme becomes slow as fuck and when I change back to true the git section disappears again

Look

Screenshot_20230216_123350

@wizztjh
Copy link

wizztjh commented Feb 17, 2023

same issue

@Cluyverth
Copy link
Author

I came up with a partial solution, but with this configuration the theme was slow and annoying as hell... I will probably remove the theme and use another one that works until this problem is solved

I used ASYNC FALSE on all sections that don't show up

Screenshot_20230217_091547

@YaoJianyu77
Copy link

i found this work for me.

spaceship remove git
spaceship add git

1

@hkunzhe
Copy link

hkunzhe commented Jun 19, 2023

same issue +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug related to code base, behavior, displaying, etc.
Development

No branches or pull requests

4 participants