Closed bushblade closed 3 years ago
zsh-autosuggestions displays suggestions based on command history. When you disable Oh My Zsh, you also disable history. Press Up to confirm. Once you fix history, zsh-autosuggestions will work.
Thanks for the reply, I had not realised oh-my-zsh was setting my history. Adding
SAVEHIST=1000
HISTFILE=~/.zsh_history
to my .zhshrc does fix it.
So I've been using zsh-autosuggestions happily for a while now but tried removing oh-my-zsh as I'm not really using it much (only a couple of plugins). But I can't seem to get zsh-autosuggestions to work without having oh-my-zsh also running which seems really odd to me. I installed zsh-autosuggestions through pacman on Manjaro and have not installed it using oh-my-zsh. To make it a little clearer here is my .zshrc before disabling oh-my-zsh
And with that config zsh-autosuggestions works as expected. But if I comment out my oh-my-zsh stuff...
Then zsh-autosuggestions no longer works. The path to my installation is correct, I can't work out why this could be.
Expected behavior
Should work without oh-my-zsh
Desktop
Manjaro linux zsh 5.8 (x86_64-pc-linux-gnu) Installed via pacman