zsh-users / zsh-autosuggestions

Fish-like autosuggestions for zsh
MIT License
31.56k stars 1.88k forks source link

/Users/ice/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh:source:1: no such file or directory: /Users/ice/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh^M #574

Open icexk opened 4 years ago

icexk commented 4 years ago

/Users/ice/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh:source:1: no such file or directory: /Users/ice/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh^M image

icexk commented 4 years ago

macOS: 10.13.6 zsh --verison zsh 5.8 (x86_64-apple-darwin17.7.0)

icexk commented 4 years ago

I installed it git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions

magichan commented 3 years ago

I have the same problem. WSL 2.0

lsb_release -a                                                                                                                                                        No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:        18.04
Codename:       bionic

zsh version zsh 5.4.2 (x86_64-ubuntu-linux-gnu)

image

tjbergst commented 3 years ago

I had this same issue in WSL2, it was due to CLRF line endings on the files. Once I switched them to LF it worked fine.