Open artuross opened 4 months ago
I've noticed the exact same behavior, and tracked it down to zsh-autocomplete
. Commenting out zsh-autocomplete
makes this issue go away. When this happens, it also leaves a zombie zsh
process running with 100% cpu usage in the background.
When this happens, it also leaves a zombie zsh process running with 100% cpu usage in the background.
I found that doing removing completions for zoxide via compdef -d z
stops zombie zsh process from spawning. This obviously breaks the
This implies that zombie process seems to spawn because of a compatibility issue between zoxide's compdef and zsh-autocomplete. I think a better workaround would be to stop zsh-autocomplete from doing its suggestions when command starts with z<space>
, but I haven't found a way to do so.
PS. For me the popups worked as expected, it's only the zombie process that was the problem. Plugins were loaded in following order zsh-autocomplete, fzf, zoxide
. But the zombie process made it impossible to use.
Description
I use
zinit
for loading plugins andzoxide
as acd
replacement. When I typez dir <tab>
,zoxide
shows a popup to select directory. However, if I decide to cancel (either with ESC orctrl + c
), the popup reopens with "0n" typed to search. This happens consistently 3 times, after which canceling works as expected. The same issue occurs on each newzoxide
invocation.Please check this screencast with zsh-autocomplete:
And without, for comparison:
The only difference between these two in environment is line 24 in
.zshrc
(loading ofzsh-autocomplete
).Environment
Steps to reproduce
This is my
.zshrc
. I've verified that commenting out loadingzsh-autocomplete
and restarting terminal would fix the issue. Everything (zoxide
,zinit
,zsh-autocomplete
) is on latest version.