Skip to content

Migrate from antigen to antidote #1

@LuckyWindsck

Description

@LuckyWindsck

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.

  1. antidote has NO dependency other than zsh.
  2. antidote satisfies basic CRUD features for plugin management.
  3. antidote partially supports XDG Base Directory Specification.
    • It provide an environment variable, ANTIDOTE_HOME, to set home folder.
  4. 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.
  5. antidote supports async load (defer).
  6. antidote supports specifying branch.
  7. 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.

  1. Most of them didn't satisfy my requirements listed above.
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions