marlonrichert / zsh-autocomplete

🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
MIT License
5.26k stars 145 forks source link

Up and down arrow key not working #698

Closed thomasdevine01 closed 3 months ago

thomasdevine01 commented 6 months ago

On install, the up and down arrow keys do not work. I was able to solve this issue by running source, and then the location of the repo and then running it again in my ~/.zshrc file. I am currently using the version supplied on the repo, and I am also using a mac m2 pro.

Suggest potentially adding a note in the install guide, or a note somewhere in the readme.

silijon commented 6 months ago

I also hit this issue.

Turns out sourcing oh-my-zsh.sh -after- sourcing zsh-autocomplete breaks the up and down arrow keys. Solution was to source oh-my-zsh.sh further up in .zshrc.

I agree with @thomasdevine01 that it may be worth a note. Was pretty annoying before figuring that out.