ZSH Plugin manager heavily based on zap but tweaked a bit to suit my needs.
sh <(curl -s https://raw.githubusercontent.com/Atlas34/zshPlug/master/install.sh)
Add the following to your .zshrc
# Plugin examples
use "Atlas34/fzf-plugin"
use "zsh-users/zsh-autosuggestions"
use "zsh-users/zsh-syntax-highlighting"
# Theme Example: Powerlevel10k
use "romkatv/powerlevel10k"
zshPlug provided commands for updating and cleaning up plugins
-
To install plugins or zshPlug:
zshPlug install
-
To update plugins or zshPlug:
zshPlug update
-
To remove plugins you are no longer using:
zshPlug clean
rm -rf ~/.local/share/zshPlugin
Also, remove the following contained in your .zshrc
[[ -f "$HOME/.local/share/zshPlug/zshPlug.zsh" ]] && source "$HOME/.local/share/zshPlug/zshPlug.zsh"
Will only work with plugins that are named conventionally, this means that the plugin file is the same name as the repository with the following extensions:
.plugin.zsh
.zsh
.zsh-theme
For example: vim