zsh-users / zsh-autosuggestions

Fish-like autosuggestions for zsh
MIT License
30.33k stars 1.85k forks source link

Adding support for ZSH_AUTOSUGGEST_BUFFER_MIN_SIZE to disable suggestions on small buffers #741

Open msohaill opened 1 year ago

msohaill commented 1 year ago

As the title states, sometimes suggestions on small buffer can get annoying especially for 1-3 characters. These changes add support for a buffer min size. Added/updated tests accordingly.

msohaill commented 9 months ago

Very odd, I cannot seem to figure out the reason for the yank-pop test failures. It seems something very specific or OS/system related, as running the tests locally with the provided docker image is always successful for me. I'll leave this open