Ohmyzsh: Error with git.zsh:42

Created on 19 Jul 2016  路  3Comments  路  Source: ohmyzsh/ohmyzsh

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

Most helpful comment

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

All 3 comments

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

Yeah Thanks! It works!

For the next time, here's the solution: https://github.com/robbyrussell/oh-my-zsh/issues/4069#issue-89607351

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nimmoadam picture nimmoadam  路  3Comments

2Dou picture 2Dou  路  3Comments

dogrizz picture dogrizz  路  3Comments

samsondav picture samsondav  路  3Comments

Cabbagec picture Cabbagec  路  3Comments