# Clone this repository into $ZSH_CUSTOM/plugins (by default ~/.oh-my-zsh/custom/plugins)
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# Add the plugin to the list of plugins for Oh My Zsh to load (inside ~/.zshrc):
# plugins=(zsh-autosuggestions)
Git Clone the zsh-autocomplete plugin in the OhMyZsh plugin folder.
$ sudo git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
Once that is done, add the plugin in the ~/.zshrc file's plugin list.
plugins=(
...
zsh-autosuggestions
)
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
vi ~/.zshrc
#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.