mac-zsh-completions
mac-zsh-completions copied to clipboard
macOS specific additional completion definitions for Zsh.
macOS zsh Completions
Some zsh completion files for macOS specific commands and third party tools.
Pull requests and contributions are welcome!
Setup and Installation
To use mac-zsh-completions on your Mac, follow these steps:
- download the project zip or
git clonethe project - in your
.zshrc(or other zsh configuration file) add the full path to themac-zsh-completions/completionsdirectory to thefpath, e.g.
fpath=( ~/Projects/mac-zsh-completions/completions $fpath )
-
the command to load
compinitshould come after modifying thefpathin your.zshrc -
open a new Terminal window to get the new completions
-
sometimes (rarely) you may have to delete the
~/.zcompdumpfile
% rm ~/.zcompdump
% compinit
- remember to regularly re-download or
git pullfor new completions and updates
Install via oh-my-zsh
git clone [email protected]:scriptingosx/mac-zsh-completions.git "$ZSH_CUSTOM/plugins/mac-zsh-completions"
- Add to your
~/.zshrcplugins arrayplugins=(... mac-zsh-completions) - Run
source ~/.zshrcor restart your shell to activate
Comments and Discussion
Aside from issues and pull request, I suggest the #zsh channel on the MacAdmins Slack for discussion.