zsh-users / zsh-autosuggestions

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

Plugin breaks when `KSH_ARRAYS` is set #756

Open masterbloxx opened 10 months ago

masterbloxx commented 10 months ago

Describe the bug

Setting this option before sourcing the plugin breaks it

To Reproduce

Steps to reproduce the behavior:

% zsh -df
% setopt KSH_ARRAYS
% source ~/zsh-autosuggestions/zsh-autosuggestions.zsh
% ... # type something
No such widget `autosuggest-suggest'

Expected behavior

Autosuggestions should work normally

Desktop