Summary
I am going to migrate the zsh plugin manager I used from antigen to antidote.
Reasons for migration
antigen is in maintenance mode, no new features.
Why antidote?
antidote satisfied all following requirements I need.
- antidote has NO dependency other than zsh.
- antidote satisfies basic CRUD features for plugin management.
- antidote partially supports XDG Base Directory Specification.
- It provide an environment variable, ANTIDOTE_HOME, to set home folder.
- antidote supports
pre / post hook.
pre hook allows me to set environment variables for some plugins before I use them.
- I need it to fix this bug of zsh-highlighting.
post hook allows me to run a patch script to fix or enhance some plugins.
- I need it to fix this bug of zsh-autosuggestions.
- Of course I can write plugins to do what I want, but if I use hooks, I don't need to worry about the plugin order.
- antidote supports async load (defer).
- antidote supports specifying branch.
- antidote supports using local plugin natively.
Also, antidote has an official repo for example zsh config that uses antidote.
Why not other plugin manager?
I've compared all zsh plugin managers listed in zsh_unplugged that are acitve and fast.
- Most of them didn't satisfy my requirements listed above.
- The rest of them do too many things, while antidote is simple enough and it only focuses on plugin management.
- antigen will run
compint automatically.
- zinit does too many other things, and it has a steep learning curve for me.
Summary
I am going to migrate the zsh plugin manager I used from antigen to antidote.
Reasons for migration
antigen is in maintenance mode, no new features.
Why antidote?
antidote satisfied all following requirements I need.
pre/posthook.prehook allows me to set environment variables for some plugins before I use them.posthook allows me to run a patch script to fix or enhance some plugins.Also, antidote has an official repo for example zsh config that uses antidote.
Why not other plugin manager?
I've compared all zsh plugin managers listed in zsh_unplugged that are acitve and fast.
compintautomatically.