Pug started out a few months ago as a slightly silly idea of writing my own plugin manager for Vim and ZSH plugins. There is no shortage of ways of managing Vim plugins - Pathogen or Vundle seem to be the most common. For ZSH everyone swears by Oh My Zsh which includes every bell and whistle you could imagine.
However each of these only work for the one tool. What if (for some reason) I wanted a tmux plugin? I’d have to install some tmux package manager - if there is one. Pug is the one tool to rule all my package managing needs.
Pug can be used to manage packages for any utility - out of the box it has installers for Vim and ZSH, but other installers can be added by writing a simple shell script. I’ll probably write some more builtin ones myself.
curl https://raw.githubusercontent.com/javanut13/pug/master/install.sh | bash
deps.pug file somewhere:
Add the dependencies (zsh-autosuggestions and zsh-syntax-highlighting) to
#!/usr/local/bin/pug load zsh github: zsh-users/zsh-autosuggestions zsh github: zsh-users/zsh-syntax-highlighting
Load the dependencies:
pug load deps.pug
You’ll be prompted to add this to your
Done. No more submodules.