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

Error with git.zsh:42 #5241

Closed
cbou opened this issue Jul 19, 2016 · 3 comments
Closed

Error with git.zsh:42 #5241

cbou opened this issue Jul 19, 2016 · 3 comments

Comments

@cbou
Copy link

cbou commented Jul 19, 2016

Since the last update I get this error on my Mac (10.11.5).

~/.oh-my-zsh/lib/git.zsh:42: parse error near `elif'
zsh: command not found: git_prompt_info
@adrianhj
Copy link

adrianhj commented Jul 22, 2016

I was able to resolve this by changing the line endings from CRLF to LF for lib/git.zsh.

e.g. in vim -> :set ff=unix

Looks like it is being discussed in #4071

@cbou
Copy link
Author

cbou commented Jul 22, 2016

Yeah Thanks! It works!

@cbou cbou closed this as completed Jul 22, 2016
@mcornella
Copy link
Member

For the next time, here's the solution: #4069 (comment)

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

3 participants