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

The current git branch not showing up. #24

Closed
teukureynld opened this issue Apr 6, 2024 · 5 comments
Closed

The current git branch not showing up. #24

teukureynld opened this issue Apr 6, 2024 · 5 comments

Comments

@teukureynld
Copy link

image

After i installed of course with the step at the marksdown... in a few minutes there is no curent git branch name, what should i do to fix this?

@RabbitKevin
Copy link

same issue.
linux: Amazon Linux 2
zsh: zsh 5.9 (x86_64-pc-linux-gnu)
oh-my-zsh: bf713e2

short solution:
I rollback oh-my-zsh to 3e05bef (the one works well in my laptop) and it's working.

@chalo2000
Copy link

chalo2000 commented Apr 7, 2024

This seems to be the commit that caused the issue (checking out into the commit just before fixes the issue)

@daronspence
Copy link

I'm seeing this as well. Would be cool if it was fixed in the theme directly! I assume it's a setting in the theme itself...

@daronspence
Copy link

I found some more info in ohmyzsh/ohmyzsh#12328

You can "fix" the prompt by modifying the theme thusly:

function update_git_status() {
    # GIT_STATUS=$(git_prompt_info);
    GIT_STATUS=$(_omz_git_prompt_info);
}

@teukureynld
Copy link
Author

Thanks for the help mr daron.

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

4 participants