-
-
Notifications
You must be signed in to change notification settings - Fork 232
Migration
Christopher Koch edited this page Sep 10, 2016
·
3 revisions
Well, here's why! zplug...
- can manage everything including...
- Zsh plugins/UNIX commands on GitHub and Bitbucket
- Gist file (gist.github.com)
- Externally managed plugins e.g., oh-my-zsh plugins/themes
- Binary artifacts on GitHub Releases
- Local plugins
- etc.
- 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
- has cache mechanism for reducing startup time
- can add plugins from the command line (with completions *wink*) without editing
.zshrc
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 |
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 |
Various changes in tags were made between zplug version 1 and 2, as well as some changes in the subcommands and their options.
v1 | v2 |
---|---|
of |
use |
file |
rename-to |
commit |
Merged into at
|
(None) | lazy |
do |
hook-build |
(None) | hook-load |
v1 | v2 |
---|---|
zplug clear --force |
zplug clear |