zsh-completions-setup

Configure and verify zsh completions with Oh My Zsh and Homebrew.

3|Updated Jan 1, 2026
One-click install
npx skills add https://github.com/wildcard/shell-ergonomics-skills --skill zsh-completions-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: zsh-completions-setup
Source: https://github.com/wildcard/shell-ergonomics-skills/tree/main/skills/zsh-completions-setup
Command: npx skills add https://github.com/wildcard/shell-ergonomics-skills --skill zsh-completions-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill helps developers ensure zsh command-line completions are correctly generated, loaded, and prioritized, avoiding missing or outdated tab completions.

Core Features & Use Cases

  • Guided setup: Prepends Homebrew and Oh My Zsh paths to fpath for reliable completion loading.
  • Manual vs plugin strategies: Documents best practices for mixing generated completions with Oh My Zsh plugins.
  • Reference materials: Includes comprehensive references and scripts to discover, verify, and generate completions.

Quick Start

Run the quick start steps to configure your shell so that completions for brew, git, starship, and other tools load quickly and correctly.

Frequently Asked Questions about zsh-completions-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure zsh completions for Homebrew and Oh My Zsh?

To configure zsh completions, prepend Homebrew and Oh My Zsh paths to your fpath before running compinit, ensuring reliable loading of generated tab completions for CLI tools.

Why are my zsh tab completions missing or outdated after installing tools?

Missing or outdated zsh completions often result from misconfigured fpath ordering or compinit caching issues. Properly sequencing Homebrew paths and clearing completion caches resolves these tab completion errors.

Can I mix manually generated zsh completions with Oh My Zsh plugins?

Yes, you can mix generated zsh completions with Oh My Zsh plugins. Documented best practices help prioritize fpath entries correctly to prevent conflicts between manual generation and plugin strategies.

Does this zsh completions setup work on both macOS and Linux?

Yes, this zsh completions setup works across macOS and Linux. It provides a reproducible workflow with explicit environment setup guidance to ensure accurate completions for tools like brew, git, and starship on both platforms.

What's the best way to verify that zsh completions are loaded correctly?

The best way to verify zsh completions is to run discovery and verification scripts that check fpath integration and compinit output, confirming that tab completions for your CLI tools load quickly and correctly.