The best zsh plugin management system.
Go to file
2016-01-31 09:50:49 +01:00
doc zplugin.svg now has just the logo 2016-01-31 09:50:49 +01:00
_zplugin cuninstall wasn't aware of disabled completions 2016-01-30 21:37:21 +01:00
LICENSE License file (MIT) 2016-01-23 21:29:13 +01:00
README.md Updated README.md - restore zsh-syntax-highlighting, problems fixed 2016-01-29 23:45:16 +01:00
zplugin.zsh Completions' listing (in report) missing a new line at the end of list 2016-01-30 21:47:15 +01:00

zew logo

Zplugin

Zplugin in action:

zplugin

Completion handling:

zplugin

Introduction

Example use:

% . ~/github/zplugin/zplugin.zsh
% zplugin load zsh-users/zsh-syntax-highlighting
% zplugin load psprint/zsh-cmd-architect

Example plugin report:

% zplugin report psprint/zsh-cmd-architect
Source zsh-cmd-architect.plugin.zsh
Autoload h-list
Autoload h-list-input
Autoload h-list-draw
Autoload zca
Autoload zca-usetty-wrapper
Autoload zca-widget
Zle -N zca-widget
Bindkey ^T zca-widget

Functions created:
            h-list        h-list-draw
      h-list-input                zca
zca-usetty-wrapper         zca-widget

Example plugin unload:

% zplugin unload psprint/zsh-cmd-architect
Deleting function h-list
Deleting function h-list-draw
Deleting function h-list-input
Deleting function zca
Deleting function zca-usetty-wrapper
Deleting function zca-widget
Deleting bindkey ^T zca-widget
Unregistering plugin psprint/zsh-cmd-architect
Plugin's report saved to $LASTREPORT

Installation

Execute:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/psprint/zplugin/master/doc/install.sh)"

To update run the command again.

Zplugin will be installed into ~/.zplugin/bin. .zshrc will be updated with single line of code that will be added to the bottom (it will be sourcing zplugin.zsh for you). Completion will be also installed, for command zplugin and aliases zpl, zplg.

After installing and reloading shell give Zplugin a quick try with zplugin help.

Usage

% zpl help
Usage:
-h|--help|help           - usage information
load {plugin-name}       - load plugin
unload {plugin-name}     - unload plugin
report {plugin-name}     - show plugin's report
all-reports              - show all plugin reports
loaded|list              - show what plugins are loaded
comp|completions         - list completions in use
cdisable {cname}         - disable completion `cname'
cenable  {cname}         - enable completion `cname'
creinstall {plugin-name} - install completions for plugin
cuninstall {plugin-name} - uninstall completions for plugin
compinit                 - refresh installed completions