dotmatrix icon indicating copy to clipboard operation
dotmatrix copied to clipboard

Consider using zplug for zsh plugins

Open dkarter opened this issue 6 years ago • 2 comments

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
  • 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
image

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.

dkarter avatar Apr 02 '18 22:04 dkarter

I'm down for anytime we can utilize plugins and a way to manage them. 👍

mattpolito avatar Apr 11 '18 19:04 mattpolito

I'm with Matt on this. Looks like a smart move! +1

avogel3 avatar Apr 16 '18 01:04 avogel3