You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use zinit for loading plugins and zoxide as a cd replacement. When I type z dir <tab>, zoxide shows a popup to select directory. However, if I decide to cancel (either with ESC or ctrl + 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 new zoxide 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 of zsh-autocomplete).
This is my .zshrc. I've verified that commenting out loading zsh-autocomplete and restarting terminal would fix the issue. Everything (zoxide, zinit, zsh-autocomplete) is on latest version.
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 interactive menu, but since I don't use it, it works for me.
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.The text was updated successfully, but these errors were encountered: