Skip to content
/ zgen Public
forked from tarjoilija/zgen

A lightweight and simple plugin manager for ZSH

License

Notifications You must be signed in to change notification settings

kevcrumb/zgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

zgen

A light plugin manager for zsh inspired by Antigen.

Usage

zgen oh-my-zsh clone and run oh-my-zsh

zgen oh-my-zsh <script> shortcut for the command below

zgen load <github repo> <script> clone the repo and run the script

zgen save save all loaded scripts into an init script so they'll get run each time you source zgen

zgen saved returns 0 if there's an init script

zgen update update all repositories and remove the init script

Example .zshrc

# load zgen
source "${HOME}/proj/zgen/zgen.zsh"

# check if there's no init script
if ! zgen saved; then
    echo "creating a zgen save"

    zgen oh-my-zsh

    # plugins
    zgen oh-my-zsh plugins/git
    zgen oh-my-zsh plugins/npm
    zgen oh-my-zsh plugins/pip
    zgen oh-my-zsh plugins/command-not-found
    zgen oh-my-zsh plugins/sudo
    zgen load zsh-users/zsh-syntax-highlighting
    zgen load /path/to/super-secret-private-plugin

    # theme
    zgen oh-my-zsh themes/arrow

    # save all to init script
    zgen save
fi

About

A lightweight and simple plugin manager for ZSH

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%