Open Mosazghi opened 1 month ago
I have similar things when I use rsync and tab to complete the folder names.
I bisected the issue locally to https://github.com/marlonrichert/zsh-autocomplete/commit/bbbefed0f27502917b0812a02cd38f32aab55770, which seems a plausible cause as the commit adjusts the main completion logic. At the previous commit, https://github.com/marlonrichert/zsh-autocomplete/commit/adfade31a84dfa512a7e3583d567ee19ac4a7936, completion works as expected without any freezing for me. So a potential workaround for this bug is to git checkout adfade3
in one's installation of zsh-autocomplete.
Unfortunately, I am not familiar enough with shell or zsh plugins to suggest a fix, but hopefully this helps with investigation.
Environment
config file
Steps to reproduce
So when typing commands like![image](https://github.com/marlonrichert/zsh-autocomplete/assets/116307580/e9a4dc7e-1d70-4722-9c77-e6f7d805fb20)
sudo apt update <space>
git clone <space>
sudo apt upgrade <space>
It freezes for a few seconds. But it gets annoying so i just CTRL + C and this is the output.^ Do the above. I notice the freezes only last about 1 second now, but still noticeable.
Contents of
~autocomplete-log/YYYY-MM-DD.log
(click to expand)