marlonrichert / zsh-autocomplete

🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
MIT License
5.38k stars 148 forks source link

yay stops with this plugin #124

Closed Fijxu closed 4 years ago

Fijxu commented 4 years ago

Environment

Please test if the bug occurs without config files:

$ cd $(mktemp -d)  # Create a temp dir and enter it.
$ ZDOTDIR=$PWD HOME=$PWD zsh -f  # Start a subshell in it without config files.
% source path/to/zsh-autocomplete.plugin.zsh  # Source the plugin.
% # Try to reproduce your bug...

Does the bug occur without config files?

If not, gradually add lines from your config file to the subshell until the bug appears.

Which combination of config causes the bug to appear?

Steps to reproduce

  1. Enable zsh-autocomplete plugin in the ~/.zshrc config
  2. Write yay in the console

Expected behavior

yay should works fine

Actual behavior

yay stops and coredump start running

Fijxu commented 4 years ago

Before this did not happen, before I used the edition of manjaro KDE Minimal but now I used manjaro Architect to test and things like that, and when I installed the plugin and wrote "yay" was stuck only, and that with the minimal version kde did not happen to me

Peek 2020-11-13 16-16

marlonrichert commented 4 years ago

Sorry, but I'm not able to reproduce this. Here's what I did:

$ cd "$(mktemp -d)"; ZDOTDIR=$PWD HOME=$PWD zsh -f
% fpath+=( path/to/yays/_pacman_comp )
% source path/to/zsh-autocomplete.plugin.zsh

Works fine for me, without any lag. If you can provide me with a reproducible test case, then I'll investigate further.