| name | sheldon |
| description | Use this skill when the user wants to manage shell plugins, initialize sheldon config, add/remove plugins, or generate plugin source scripts. |
sheldon Plugin
Fast, configurable shell plugin manager for zsh and bash. Manage Git repositories, remote scripts, and local directories as shell plugins using a TOML config file.
Commands
Configuration
sheldon config init — Initialize a new plugins.toml config file
sheldon config edit — Open config in the default editor
Plugin Management
sheldon plugin add — Add a new plugin (GitHub, Git, remote, or local)
sheldon plugin remove — Remove a plugin
sheldon plugin lock — Install sources and generate lock file
sheldon plugin source — Generate and output shell source script
Utility
sheldon _ _ — Passthrough to sheldon CLI
Usage Examples
- "Initialize sheldon for zsh"
- "Add the base16-shell plugin from GitHub"
- "Generate the plugin source script"
- "Lock and install all plugins"
Installation
brew install sheldon
Or via Cargo:
cargo install sheldon
Or via the install script:
curl --proto '=https' -fLsS https://rossmacarthur.github.io/install/crate.sh | bash -s -- --repo rossmacarthur/sheldon --to ~/.local/bin
Quick Start
sheldon config init --shell zsh
sheldon plugin add base16 --github chriskempson/base16-shell
Examples
sheldon config init --shell bash
sheldon plugin add zsh-autosuggestions --github zsh-users/zsh-autosuggestions --tag v0.7.0
sheldon plugin add my-plugin --git https://github.com/owner/repo.git
sheldon plugin lock --update
sheldon plugin source
sheldon plugin remove base16
sheldon _ _ --version
sheldon _ _ --help
Key Features
- Git sources — Clone plugins from GitHub, Gists, or any Git URL
- Remote sources — Download single-file plugins from URLs
- Local sources — Reference local directories as plugins
- TOML config — Clean, readable plugin configuration
- Template system — Customizable shell script generation per plugin
- Profiles — Load different plugins based on context
- Parallel installs — Fast plugin downloading and lock file generation
- Shell agnostic — Works with zsh, bash, and fish