zpm-project / zpm-zsh

zsh plugin manager in ansi C.
GNU General Public License v3.0
5 stars 3 forks source link
package-manager zpm zsh

zpm - Zsh Plugin Manager Gitter Build Status

zsh plugin manager in ansi C.

Installation

MacOS

brew install jedahan/homebrew-zpm/zpm

Manual

Clone this repository and then:

make

You'll have a zpm binary in the current directory, copy it to /usr/local/bin.

Usage

Installing plugins

You first will need to install the plugins you want:

zpm "zsh-users/zsh-syntax-highlighting"
zpm "zsh-users/zsh-autosuggestions"
zpm "rupa/z"

These commands will generate $HOME/.zpm-init.zsh file. Use that to load plugins.

Configure zsh

Then configure zsh to use them:

# .zshrc
source $HOME/.zpm-init.zsh

If you add or remove new plugins you will need to:

zpm reset

Commands

To see a list of installed plugins:

zpm list

To update installed plugins:

zpm update

To persist your current configuration to be able to commit it into a dotfile repository:

zpm save

Example:

zpm save > ~/dotfiles/.zpmrc

Next time you'll only need to install them like so:

source ~/dotfiles/.zpmrc

To reset your plugin configuration:

zpm reset

To disable a plugin from loading:

zpm disable "plugin/name"

To disable and remove a plugin from disk:

zpm remove "plugin/name"

Development

Running tests:

make test

You'll need zcram (or cram) installed and available in PATH.

Maintainers

zpm is currently being actively developed by @desyncr and @fennecdjay.

TODO