Migration

Christopher Koch edited this page Sep 10, 2016 · 3 revisions

Why should I use zplug instead of antigen/zgen?

Well, here's why! zplug...

  • can manage everything including...
  • has super-fast parallel installation/update
  • can specify branch/tag/commit
  • allows post-update hooks
  • can express dependencies between plugins
  • unlike antigen, no ZSH plugin file (*.plugin.zsh) required
  • works well with interactive interface (fzf, peco, zaw, and so on)
  • has cache mechanism for reducing startup time
  • can add plugins from the command line (with completions *wink*) without editing .zshrc

From antigen

antigen zplug
source ~/.antigen/antigen.zsh source ~/.zplug/init.zsh
antigen bundle zsh-users/zsh-syntax-highlighting zplug zsh-users/zsh-syntax-highlighting
antigen bundle zsh-users/zsh-completions zplug zsh-users/zsh-completions
antigen apply zplug load

From zgen

zgen zplug
source ~/.zgen/zgen.zsh source ~/.zplug/init.zsh
zgen load zsh-users/zsh-syntax-highlighting zplug zsh-users/zsh-syntax-highlighting
zgen oh-my-zsh
zgen oh-my-zsh plugins/git
zplug plugins/git, from:oh-my-zsh
zgen update zplug update
zgen selfupdate zplug update --self
zgen reset zplug clear

From v1

Various changes in tags were made between zplug version 1 and 2, as well as some changes in the subcommands and their options.

Tags

v1 v2
of use
file rename-to
commit Merged into at
(None) lazy
do hook-build
(None) hook-load

Subcommands

v1 v2
zplug clear --force zplug clear
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.