A light plugin manager for zsh inspired by Antigen.
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
# 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