This is a basic ZSH completion file for Packer.
To install in oh-my-zsh clone this repo:
$ git clone https://github.com/gunzy83/packer-zsh-completion.git ~/.oh-my-zsh/plugins/packer
Remember to add packer to the plugins list in ~/.zshrc.
-
Get it
Clone into custom plugins directory:
$ git clone https://github.com/gunzy83/packer-zsh-completion.git ~/.oh-my-zsh/plugins/packer
-
Include it
Then add the plugin to your plugin list in oh-my-zsh configuration:
$ $EDITOR ~/.zshrc # -plugins=(...) # +plugins=(... packer)
- Add
antigen bundle gunzy83/packer-zsh-completion
to your.zshrc
with your other antigen bundle commands.
- Add
zgen load gunzy83/packer-zsh-completion
to your.zshrc
- Regenerate your
init.zsh
withzgen save
After installation re-source your .zshrc
.
- Add true/false options for -parallel
- Add parsing of .json files to find builders for -except and -only
packer-zsh-completion is provided under the terms of The MIT License
Copyright © 2014, Ross Williams