/zsh-autosuggestions/zsh-autosuggestions.zsh^M
#remove the plugin (in ~/.oh-my-zsh/custom/plugins/zsh-autosuggestion),
#changing the git CRLF handling:
git config --global core.autocrlf false
git config --global core.eol lf
#and re-installing it. Maybe it's working for you too.