Coder Social home page Coder Social logo

zpm-zsh's Introduction

zsh plugin manager in ansi C.

Installation

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

  • Update command
  • Add plugins to fpath
  • Support for local plugins
  • List command show version (hash)
  • Add executables to PATH

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.