Enable plugin managers to set the Oh My Zsh requirements #12583
Description
If the feature request is for a plugin or theme, specify it here.
No response
If the feature solves a problem you have, specify it here.
Our init script (oh-my-zsh.sh
) does a bunch of initialization of required environment, variables and filesystem changes, but it also loads plugins, themes and has other custom logic.
This is why most plugin managers don't load the init script directly, as they do the second part themselves using internal optimized logic. However this has the intended side effect of not having the Oh My Zsh requirements necessary for most plugins, leading to issues such as #10581 (comment) or #12581.
This feature would enable plugin managers to load just the requirements for Oh My Zsh plugins.
Describe the proposed feature.
Separate the initialization logic between requirements and other initializations (plugins, theme, custom files, ...), ideally in separate files.
Then open separate PRs for all popular plugin managers to have that file loaded whenever an Oh My Zsh plugin or theme is loaded.
Describe alternatives you've considered
No response
Additional context
No response
Related Issues
- New rust plugin seems broken #10536
- kubectl namespace autocompletion not working #10581
- plugins/kubectl/kubectl.plugin.zsh:source:15: no such file or directory: /completions/_kubectl #10728
- docker.plugin.zsh no such file or directory #11866
- Deno completions not working in VSCode #12581
- $ZSH_CACHE_DIR error mattmc3/antidote#73
Listed plugin managers:
- antibody
- antigen
- antidote
Comment and +1 this message to add more plugin managers affected
Metadata
Assignees
Labels
Type
Projects
Status
Backlog
Activity