]> git.rmz.io Git - dotfiles.git/blob - zsh/plugins/lein/lein.plugin.zsh
add xbindkeysrc
[dotfiles.git] / zsh / plugins / lein / lein.plugin.zsh
1 function _lein_commands() {
2 local ret=1 state
3 _arguments ':subcommand:->subcommand' && ret=0
4
5 case $state in
6 subcommand)
7 subcommands=(
8 "clean:remove compiled files and dependencies from project"
9 "compile:ahead-of-time compile the project"
10 "deps:download and install all dependencies"
11 "help:display a list of tasks or help for a given task"
12 "install:install the project and its dependencies in your local repository"
13 "jar:create a jar file containing the compiled .class files"
14 "new:create a new project skeleton"
15 "pom:write a pom.xml file to disk for maven interop"
16 "test:run the project's tests"
17 "uberjar:Create a jar including the contents of each of deps"
18 "upgrade:upgrade leiningen to the latest stable release"
19 "version:print leiningen's version"
20 )
21 _describe -t subcommands 'leiningen subcommands' subcommands && ret=0
22 esac
23
24 return ret
25 }
26
27 compdef _lein_commands lein