Open Mosazghi opened 4 months 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.
Hi, I also experience some freezing in my shell, especially when typing npm r
. It indeed disappears when disabling zsh-autocompletion.
I am unsure about how to checkout from zsh-autocomplete latest commit to a previous commit. I tried going to plugins/marlonrichert/zsh-autocomplete
and typing git checkout adfade3
, but it didn't find the branch.
EDIT : okay, I found how to revert back to the adfade3
commit and it indeed solves the new problems I encounter with the latest commits.
~/.config/zsh/plugins/marlonrichert/zsh-autocomplete
git clone --depth 1
when installing the module with the recommanded script, we don't clone the previous commits. So we have to git fetch --unshallow
to get the complete clone of the repo.git checkout adfade3
Environment
config file
Steps to reproduce
So when typing commands like
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)