🍺 BREW Explorer

← all formulae

zsh-completions

brew install zsh-completions v0.36.0 MIT-Modern-Variant AND BSD-3-Clause AND MIT AND Apache-2.0 AND ISC AND NCSA

Additional tab-completion definitions for zsh covering hundreds of CLI tools.

Why you might care

Zsh ships with basic completions, but this collection adds deep, context-aware completions for modern CLI tools and less common commands. Install it alongside zsh to dramatically improve interactive shell experience—especially useful if you frequently use tools like docker, git, brew, or kubectl. Maintained by the zsh-users community and a natural step up from stock zsh completions.

Categories

2.3k
30-day installs · #897
12.5k
90-day · #720
32.5k
365-day · #852
7.8k
★ GitHub stars · updated 1d ago

GitHub topics

completion shell zsh zsh-completions

Links

Caveats

To activate these completions, add the following to your .zshrc:

  if type brew &>/dev/null; then
    FPATH=$(brew --prefix)/share/zsh-completions:$FPATH

    autoload -Uz compinit
    compinit
  fi

You may also need to force rebuild `zcompdump`:

  rm -f ~/.zcompdump; compinit

Additionally, if you receive "zsh compinit: insecure directories" warnings when attempting
to load these completions, you may need to run these commands:

  chmod go-w '$HOMEBREW_PREFIX/share'
  chmod -R go-w '$HOMEBREW_PREFIX/share/zsh'

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [
    "zsh-completion"
  ],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [
    "shell",
    "shell-prompt"
  ],
  "caveats": "To activate these completions, add the following to your .zshrc:\n\n  if type brew \u0026\u003e/dev/null; then\n    FPATH=$(brew --prefix)/share/zsh-completions:$FPATH\n\n    autoload -Uz compinit\n    compinit\n  fi\n\nYou may also need to force rebuild `zcompdump`:\n\n  rm -f ~/.zcompdump; compinit\n\nAdditionally, if you receive \"zsh compinit: insecure directories\" warnings when attempting\nto load these completions, you may need to run these commands:\n\n  chmod go-w \u0027$HOMEBREW_PREFIX/share\u0027\n  chmod -R go-w \u0027$HOMEBREW_PREFIX/share/zsh\u0027\n",
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Additional completion definitions for zsh",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:41:10+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "zsh-completions",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-06-20T01:04:34Z",
  "github_readme_excerpt": "zsh-completions ![GitHub release](https://img.shields.io/github/release/zsh-users/zsh-completions.svg) ![GitHub contributors](https://img.shields.io/github/contributors/zsh-users/zsh-completions.svg) [![IRC](https://img.shields.io/badge/IRC-%23zsh--completions-yellow.svg)](irc://irc.freenode.net/#zsh-completions) [![Gitter](https://badges.gitter.im/zsh-users/zsh-completions.svg)](https://gitter.im/zsh-users/zsh-completions?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge)\n=============\n\n**Additional completion definitions for [Zsh](https://www.zsh.org/).**\n\n*This project aims at gathering/developing new completion scripts that are not available in Zsh yet. The scripts may be contributed to the Zsh project when stable enough.*\n\n---\n\n## Usage\n\n### Using packages\n\n| System  | Package |\n| ------------- | ------------- |\n| Debian / Ubuntu | [zsh-completions OBS repository](https://software.opensuse.org/download.html?project=shells%3Azsh-users%3Azsh-completions\u0026package=zsh-completions) |\n| Fedora / CentOS / RHEL / Scientific Linux | [zsh-completions OBS repository](https://software.opensuse.org/download.html?project=shells%3Azsh-users%3Azsh-completions\u0026package=zsh-completions) |\n| OpenSUSE / SLE | [zsh-completions OBS repository](https://software.opensuse.org/download.html?project=shells%3Azsh-users%3Azsh-completions\u0026package=zsh-completions) |\n| Arch Linux / Manjaro / Antergos / Hyperbola | [zsh-completions](https://www.archlinux.org/packages/zsh-completions), [zsh-completions-git](https://aur.archlinux.org/packages/zsh-completions-git) |\n| Gentoo / Funtoo | [app-shells/zsh-completions](https://packages.gentoo.org/packages/app-shells/zsh-completions)  |\n| NixOS | [zsh-completions](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/zs/zsh-completions/package.nix) |\n| Void Linux | [zsh-completions](https://github.com/void-linux/void-packages/blob/master/srcpkgs/zsh-completions/template) |\n| Slackware | [Slackbuilds](https://slackbuilds.org/repository/14.2/syst",
  "github_repo": "zsh-users/zsh-completions",
  "github_stars": 7818,
  "github_topics": [
    "completion",
    "shell",
    "zsh",
    "zsh-completions"
  ],
  "homepage": "https://github.com/zsh-users/zsh-completions",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 2346,
  "installs_365d": 32468,
  "installs_90d": 12481,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT-Modern-Variant AND BSD-3-Clause AND MIT AND Apache-2.0 AND ISC AND NCSA",
  "llm_generated_at": "2026-06-20T23:47:44+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "zsh-completions",
  "oldnames": [],
  "one_liner": "Additional tab-completion definitions for zsh covering hundreds of CLI tools.",
  "optional_dependencies": [],
  "rank_30d": 897,
  "rank_365d": 852,
  "rank_90d": 720,
  "raw_hash": "debd427b0e2e80bc",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/z/zsh-completions.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    {
      "zsh": "test"
    }
  ],
  "version_head": "HEAD",
  "version_stable": "0.36.0",
  "versioned_formulae": [],
  "why_use_this": "Zsh ships with basic completions, but this collection adds deep, context-aware completions for modern CLI tools and less common commands. Install it alongside zsh to dramatically improve interactive shell experience\u2014especially useful if you frequently use tools like docker, git, brew, or kubectl. Maintained by the zsh-users community and a natural step up from stock zsh completions."
}