zsh-autosuggestions
zsh-autosuggestions copied to clipboard
zsh-autosuggestions suggest `\[` if I press space as the first character in the prompt
If I press space as the first character in the prompt, it suggests \[.
If I comment out . ~/dotfiles/zsh/zsh-autosuggestions.zsh this weird behaviour goes away.
I think it is caused by ZSH_AUTOSUGGEST_STRATEGY=(history completion)
I see the same issue, I use ZSH_AUTOSUGGEST_COMPLETION_IGNORE="[[:space:]]*" to stop suggestions from appearing when the buffer is preceded by whitespace.