dotmatrix
dotmatrix copied to clipboard
Consider using zplug for zsh plugins
I recently switched my zsh plugin manager to zplug which is a wonderful and fast plugin manager for zsh. It also allows pulling binaries or zsh files from other git repos and will allow us to include things like pear automatically with new installs.
This will also allow separating the hr binary to a separate repo if that's something people are still interested in.
The benefit of including a plugin manager for zsh is the ability to enhance zsh with new functionality such as autosuggestion, auto completion for different CLIs such as docker, using different prompts, themes, aliases and functions. All pulled from different locations / packages.
To see what's available check out: https://github.com/unixorn/awesome-zsh-plugins
Why zplug:
- Can manage everything
- Zsh plugins/UNIX commands on GitHub and Bitbucket
- Gist files (gist.github.com)
- Externally managed plugins e.g., oh-my-zsh and prezto plugins/themes
- Binary artifacts on GitHub Releases
- Local plugins
- etc. (you can add your own sources!)
- Super-fast parallel installation/update
- Support for lazy-loading
- Branch/tag/commit support
- Post-update, post-load hooks
- Dependencies between packages
- Unlike antigen, no ZSH plugin file (
*.plugin.zsh
) required - Interactive interface (fzf, peco, zaw, and so on)
- Cache mechanism for reducing the startup time

Also it will be similar enough for what we use for Vim (vim-plug) since it was inspired by vim-plug.
If there's interest I'll submit a PR on Friday.
I'm down for anytime we can utilize plugins and a way to manage them. 👍
I'm with Matt on this. Looks like a smart move! +1