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

Problem after updating to Mac OS 12.3 (21E230) #153

Open
kotlinski opened this issue Mar 16, 2022 · 5 comments
Open

Problem after updating to Mac OS 12.3 (21E230) #153

kotlinski opened this issue Mar 16, 2022 · 5 comments

Comments

@kotlinski
Copy link

Stopped working as expected after 12.3 (21E230)

Before I got the number of diffs (up and down), now I just get the ⚡ icon.

@kotlinski
Copy link
Author

~/dev/zsh-git-prompt(master⚡) »

Before I used to have the number of changed files.

@buko106
Copy link

buko106 commented Mar 17, 2022

cause of this problem may be that /usr/bin/python is deleted (/usr/bin/python3 still exists)

c.f. https://zenn.dev/sprout2000/articles/df9d59336a51d5 (sorry for Japanese blog only)

@kotlinski
Copy link
Author

Yes, I figured that out after a few hours of debugging. I ended up adding an alias in .zshrc
alias python=/usr/local/bin/python3.9

@patrick-mcdougle
Copy link

Depending on circumstances, you might also need to install the xcode command line tools as described here: https://apple.stackexchange.com/questions/254380/why-am-i-getting-an-invalid-active-developer-path-when-attempting-to-use-git-a

@hydrospanner
Copy link

Yes, I figured that out after a few hours of debugging. I ended up adding an alias in .zshrc alias python=/usr/local/bin/python3.9

This will cause issues for anything attempting to run python2 code. Since this repo isn't being maintained use https://github.com/zsh-git-prompt/zsh-git-prompt instead. It works on systems with only python3.

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