Open Redoxahmii opened 5 months ago
This did not happen before i just updated this plugin and it keeps crashing it.
Experienced the same issue.
Did a quick bisect and looks like a66d6ae6f7e703b1bf5ae57e48a7da3cf307aeab is the culprit.
The logs have the following lines repeated multiple times:
compadd:57: closing brace expected
compadd:52: parse error in command substitution
autocomplete:compadd:old:57: closing brace expected
autocomplete:compadd:old:52: parse error in command substitution
@Shraymonks thank you for saving me time before i went down the rabbit hole myself.
Would you know how i can revert to this commit for the time being until this gets fixed with zinit?
zinit ice commit=008caae;
zinit light marlonrichert/zsh-autocomplete
I have been trying to do it this way and there isn't any good documentation on zinit to actually know what to do.
I don't use zinit but I'm guessing that's what ver
is for after taking a quick look. Alternatively you can probably just checkout that commit wherever zinit installed zsh-autocomplete.
That's how i am running it atm by checking out the commit.
Experienced the same issue.
Did a quick bisect and looks like a66d6ae is the culprit.
The logs have the following lines repeated multiple times:
compadd:57: closing brace expected compadd:52: parse error in command substitution autocomplete:compadd:old:57: closing brace expected autocomplete:compadd:old:52: parse error in command substitution
Thank you for finding this! I was experiencing the crash when attempting git branch -a
(specifically, immediately after typing the a
). Here's my temporary fix, coming from a Homebrew install.
git clone https://github.com/marlonrichert/zsh-autocomplete.git
cd zsh-autocomplete
# If cloned using `--depth 1` like the README suggests:
# git fetch --unshallow
# Undo the commit for the affected file
git checkout a66d6ae6f7e703b1bf5ae57e48a7da3cf307aeab^ -- Functions/Init/.autocomplete__async;
Then update how it's sourced in .zshrc
:
# source $HOMEBREW_PREFIX/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh
source /path/to/zsh-autocomplete/zsh-autocomplete.plugin.zsh
Environment
Steps to reproduce
Contents of
~autocomplete-log/YYYY-MM-DD.log
(click to expand)