smithery/kettleofketchup

zinit-zsh

Zinit zsh plugin manager for dotfiles repos. Use for plugins, gh-r binary installs, completions, turbo/wait, ice modifiers (sbin, atclone, atpull, as, from), OMZ snippets, or zshrc edits.

Installation

$ npx skills add smithery/kettleofketchup --skill zinit-zsh

Also in this package

Other skills from smithery/kettleofketchup.

npx skills add smithery/kettleofketchup

Browse all from smithery/kettleofketchup

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,368 B
  • docs SUMMARY.md 419 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Zinit ZSH Plugin Manager

Manage zsh plugins, CLI binary installs, and completions with zinit in a dotfiles repo.

Repo Structure

A conventional zinit dotfiles layout. Where the repo is managed with GNU Stow these files symlink into $HOME; adapt the paths for bare-git, chezmoi, or plain copies.

  • .zshrc - main zinit config, plugin definitions, binary installs
  • .config/zsh/ - modular zsh configs loaded via zinit snippet

- plugins.zsh - additional plugin loads - aliases.zsh - shell aliases - exports.zsh - PATH and env vars - completions.zsh - completion setup - completions/ - custom completion files (just, inv, etc.) - history.zsh, keys.zsh, styles.zsh - other configs

Quick Reference

Binary Install Pattern (gh-r)

zinit as"null" wait lucid from"gh-r" for \
    sbin"binary-name"  owner/repo

With Completion Generation

zinit for \
    from'gh-r' \
    sbin'tool' \
    atclone'./tool completion zsh > _tool' atpull'%atclone' as'completion' \
  @owner/repo

OMZ Plugin/Snippet

zinit wait lucid for \
    OMZP::plugin-name \
    OMZL::lib-file.zsh

Build from Source

zinit for \
    as'null' \
    configure'--prefix=$PWD' \
    make'install' \
    sbin \
  @owner/repo

Key Ice Modifiers

Ice Purpose
from'gh-r' Download from GitHub releases
sbin'pattern -> name' Create bin symlink in $ZPFX/bin
wait"N" Turbo load after N seconds
lucid Suppress "Loaded..." message
atclone"cmd" Run on clone
atpull'%atclone' Run atclone on update
as'completion' Register as completion
as'null' Don't source as plugin

Detailed References

For comprehensive patterns and troubleshooting, see:

  • references/ice-modifiers.md - all ice options with examples
  • references/patterns.md - common install patterns (gh-r, OMZ, turbo)
  • references/patterns-advanced.md - external tools, prompts, syntax highlighting
  • references/troubleshooting.md - load order, debugging