Use dynamic bundling for flexible plugin loading
mainIf you prefer a style similar to Antigen, you can use dynamic bundling. Instead of a separate file, you source the output of antidote init and call antidote bundle directly in your .zshrc.
Antidote caches the generated load scripts in your ANTIDOTE_HOME to ensure subsequent shell starts remain fast. You can speed up loading further by enabling zcompile for these cache files.
Example configuration in .zshrc:
source /path/to/antidote/antidote.zsh
source <(antidote init)
antidote bundle zsh-users/zsh-autosuggestions
antidote bundle ohmyzsh/ohmyzsh path:lib
antidote bundle ohmyzsh/ohmyzsh path:plugins/git