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

Errors after update #6764

Closed
simoneldevig opened this issue Apr 24, 2018 · 5 comments
Closed

Errors after update #6764

simoneldevig opened this issue Apr 24, 2018 · 5 comments

Comments

@simoneldevig
Copy link

After updating two days ago I get the following erros every time I open my bash.

/home/simoneldevig/.oh-my-zsh/lib/git.zsh:42: parse error near `elif'
/home/simoneldevig/.oh-my-zsh/lib/history.zsh:6: command not found: ^M
/home/simoneldevig/.oh-my-zsh/lib/history.zsh:11: parse error near `elif'
zsh: command not found: git_prompt_info

Just tried to update again after reading #6758 but the problem still presists.

Running Ubuntu bash on Windows 10.

Any suggestions on how to fix it?

@justinnichols
Copy link

Same exact errors after update. Ubuntu 17.10.

@justinnichols
Copy link

This talks about it as well. #5241

@justinnichols
Copy link

justinnichols commented Apr 24, 2018

Running this fixed it for me:

cd $ZSH
git config core.autocrlf false
git rm --cached -r .
git reset --hard

@mcornella
Copy link
Member

Another issue that might be fixed by #4071.

@onedou
Copy link

onedou commented Jul 6, 2018

thanks @mcornella
It's works well
image

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