Closed jorotg closed 3 years ago
same here, looks like git conflict
not be handled
same issue
I've got the same issue here.
It seems to be a CRLF error. Try this solution, it works.
cd $ZSH
git config core.autocrlf input
git rm --cached -r .
git reset --hard
Reference from: @sandyplus
The agnoster theme in OMZ is not the same as this one. This should be an issue in OMZ, so you can close this one. Also, the proper way to make changes to a theme is to copy it in $ZSH_CUSTOM
with the same name and modify it there: full info here.
It seems to be a CRLF error. Try this solution, it works.
cd $ZSH git config core.autocrlf input git rm --cached -r . git reset --hard
Reference from: @sandyplus
This worked partially for me. Yes it fixed the parse errors but I didn't got back the interface as you can see with the before/after screenshots below.
Before:
After:
After anothe oh-my-zsh upgrade my prompt is messed up:
/Users/alabala1/.oh-my-zsh/themes/agnoster.zsh-theme:97: parse error near `<<<' alabala1@ip-192-168-2-4 ~ %
If I comment lines 97, 100 and 103 then I get: /Users/alabala1/.oh-my-zsh/themes/agnoster.zsh-theme:108: parse error near `prompt_git'