A minimal zsh plugin manager.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.1 KiB

🎸 Rock 🤘

A minimal zsh plugin manager.

Inspired by: zcomet - https://github.com/agkozak/zcomet
zap - https://github.com/zap-zsh/zap

Install

sh <(curl -s https://git.lucasf.dev/public/rock/raw/branch/master/install.sh)

Basic plugins

Add the following to your .zshrc

# Basic Options for zsh configuration.
plug "https://git.lucasf.dev/public/zsh-basics.git"

plug "zsh-users/zsh-autosuggestions"
plug "zsh-users/zsh-syntax-highlighting"

# A simple prompt theme
plug "https://git.lucasf.dev/public/zsh-prompt.git"

Commands

  • To update plugins or Rock itself:
rock --update
  • To cleanup plugins you are no longer using:
rock --clean
  • To uninstall Rock:
rock --remove

Notes

By default the manager will try to source plugins that the file name is the same as the repository, with the following extensions:

  • .plugin.zsh
  • .zsh
  • .zsh-theme

To add some plugin that are named different from the repo name, you need to pass the file name as a parameter as in the example below:

plug "spaceship-prompt/spaceship-prompt" spaceship.zsh