README.md
June 24, 2026 · View on GitHub
███████╗███████╗██╗ ██╗
╚══███╔╝██╔════╝██║ ██║
███╔╝ ███████╗███████║
███╔╝ ╚════██║██╔══██║
███████╗███████║██║ ██║
╚══════╝╚══════╝╚═╝ ╚═╝
[ x c o d e ]
[ZSH COMPLETIONS FOR THE XCODE COMMAND-LINE TOOLS]
"
xcodebuild,xcrun,genstrings,nm,plutil,swift— all completed."
Zsh completions for some of the Xcode command line tools. Currently:
dyldinfogenstringsinstrumentsnmplutilstringsswiftswift-demanglexcode-selectxcodebuildxcrun— see Shims for more info
strykelang · zshrs · MenkeTechnologiesMeta · zsh-more-completions · zsh-cargo-completion · zpwr
Read the Docs · Engineering Report
Table of Contents
[0x00] Installation
brew install keith/formulae/zsh-xcode-completions
[0x01] TODO:
- lipo
- otool
- pkgutil
- pmset
Shims
Unfortunately, because of how xcrun happens to work, creating
completions that also handle the nested completions for programs run
through xcrun (such as swift-demangle) has proven to be difficult.
To get around this, I have created shims for programs that could
use completions. I've also added a homebrew option (--without-shims)
if you would like to exclude these from being installed. One
disadvantage to this approach is you cannot pass arguments to the
xcrun command while calling a shim.
Resources
https://github.com/zsh-users/zsh-completions/blob/master/zsh-completions-howto.org