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
.oh-my-zsh/plugins/git/git.plugin.zsh:local:2: not valid in this context: git_cmd^M #3963
Comments
Can you be more specific about the errors you're seeing? When do you see that error message? As an experiment, delete line 2 of |
Also, check to make sure you don't have a DOS-mode file for
And if I
|
Not sure if this is related, but I just updated and now whenever I open a new shell I get
|
It's related; that top-level |
This problem is solved now, the reason is that I set my git line endings incorrectly. $ cd ~/.oh-my-zsh
$ git reset --hard cffeefde903149df8ef48224fedf5205cb2497c3
$ git config --global core.autocrlf input
$ git pull |
After the latest upgrade_oh_my_zsh, I got this error and the git plugin didn't work.
The text was updated successfully, but these errors were encountered: