zsh-autocomplete
zsh-autocomplete copied to clipboard
Override incompatible `zstyle` values more robustly
https://github.com/marlonrichert/zsh-autocomplete/blob/18a9bfb36bf79db6359ab1f321e938a099d5fa1b/scripts/.autocomplete.config#L7 tries to unset incompatible zstyle
values, but this handles only a couple of known cases from OMZ & Prezto. https://github.com/marlonrichert/zsh-autocomplete/issues/364#issuecomment-1001179643 shows that it’s still possible to define values that mess up the autocompletion. I need to implement something that dynamically checks for which selectors the incompatible values are set and then delete those specifically.
Or actually, I could just define the strongest possible selector for each case. That should solve it, too.