Zsh completion function for Mozilla's jpm add-on building tool
Warning: this work is experimental. This is my first attempt at creating completion code for Zsh. Feedback and/or fixes are most welcome.
jpm documentation is available on MDN.
Copy this file to any directory among those listed in $fpath
environment variable, and remove its extension (i.e. rename it as _jpm
).
For instance:
$ git clone https://github.com/Qeole/jpm-zsh-completion.git
$ cd jpm-zsh-completion
$ cp _jpm.sh $fpath[1]/_jpm
(You might need to add sudo
before cp
)