zsh-users / zsh-autosuggestions

Fish-like autosuggestions for zsh
MIT License
31.1k stars 1.86k forks source link

Plugin does not work at all for me #738

Closed malikwirin closed 1 year ago

malikwirin commented 1 year ago

Describe the bug

I tried two installation methods. With Oh My Zsh and the OpenSUSE repository. source ~/.zshrc and restarting the terminal does not work. I tried it in two Terminal Emulators Alacritty and Konsole. Theming with Oh My Zsh works. I haven`t tried installing another plugin yet.

To Reproduce

Steps to reproduce the behavior: I tried the neofetch command multiple times, but i never get a suggestion for it.

Expected behavior

I expect a suggestion for the neofetch command when typing it a second time.

Desktop

malikwirin commented 1 year ago

I found the solution. I had plugins= twice in my .zshrc once for git added by Oh My Zsh and a second time manually added by me for zsh-autosuggestions

this fixed it: plugins=( git zsh-autosuggestions )