zsh-autosuggestions icon indicating copy to clipboard operation
zsh-autosuggestions copied to clipboard

zsh-autosuggestions suggest `\[` if I press space as the first character in the prompt

Open blueray453 opened this issue 5 years ago • 2 comments

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.

blueray453 avatar Aug 11 '20 23:08 blueray453

I think it is caused by ZSH_AUTOSUGGEST_STRATEGY=(history completion)

blueray453 avatar Aug 11 '20 23:08 blueray453

I see the same issue, I use ZSH_AUTOSUGGEST_COMPLETION_IGNORE="[[:space:]]*" to stop suggestions from appearing when the buffer is preceded by whitespace.

NICHOLAS85 avatar Aug 25 '20 00:08 NICHOLAS85