Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Zim but don't handle completion #562

@markfaine

Description

@markfaine

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions