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

Override incompatible `zstyle` values more robustly

Open marlonrichert opened this issue 2 years ago • 1 comments

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.

marlonrichert avatar Dec 27 '21 13:12 marlonrichert

Or actually, I could just define the strongest possible selector for each case. That should solve it, too.

marlonrichert avatar Feb 09 '22 06:02 marlonrichert