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

leongaban picture leongaban  ·  3Comments

jaredmoody picture jaredmoody  ·  3Comments

dariye picture dariye  ·  3Comments

thienedits picture thienedits  ·  3Comments

sohocoke picture sohocoke  ·  3Comments