-
Notifications
You must be signed in to change notification settings - Fork 183
Description
Is your feature request related to a problem? Please describe.
I'm always frustrated when I install some cool module and as soon as I restart zsh I get something along the lines of:
(anon):zcompile:29: can't open file: /home/mfaine/.zcompdump
I have spent more time than I care to admit debugging these issues when all I want to do is use the tool.
I know there are workarounds for some of it and it seems to almost always come down to something to do with completion and commenting it out somewhere.
However, I can't control what a module author does so every time I install a module that has any completion function or even just do something like this:
eval "$(uvx --generate-shell-completion zsh)"It breaks something.
So, due to this, is there some way you could just completely offload the completion for zimfw itself to a plugin and/or remove any bits that have anything to do with completion?
I want to keep using zimfw and for all I know this is a problem with other plugin managers too but it's got me looking for a solution because I can't just mess with my completion all the time, I need to actually get stuff done. Thanks for the great plugin manager. I recently saw that it was the fastest loading one here
Describe the solution you'd like
I guess just some way to disable anything that would cause a completion error. The end of all zcompile.. errors or .zcompdump errors. I have no idea how to accomplish this but I have noticed that to use zimfw you have to disable some zsh builtin completion functionality:
skip_global_compinit=1
Perhaps that's the root of it? I don't know.
Describe alternatives you've considered
I've been looking at other plugin managers but I don't yet know if that would solve the problem and it would also require a lot of reworking of my environment. I'd rather not if I don't have to. :)
Additional context
No response