olivierverdier / zsh-git-prompt

Informative git prompt for zsh
MIT License
1.72k stars 395 forks source link

some error message on ubuntu 20.04 #139

Open moonwater opened 4 years ago

moonwater commented 4 years ago

[oh-my-zsh] Random theme '/home/user1/.oh-my-zsh/themes/muse.zsh-theme' loaded... git_super_status:[:4: integer expression expected: have
git_super_status:[:7: integer expression expected: also git_super_status:[:11: integer expression expected: python3 git_super_status:[:14: integer expression expected: installed, git_super_status:[:17: integer expression expected: you git_super_status:[:20: integer expression expected: can git_super_status:[:23: integer expression expected: you

======== after I had the git-prompt disabled, the error message was gone. please kindly take a look at this. Thank you.

thomasrebele commented 4 years ago

This error happens if the python script fails to run. You could try the fork https://github.com/zsh-git-prompt/zsh-git-prompt which also provides a shell-only implementation.