diff options
author | Marc Cornellà <marc.cornella@live.com> | 2018-06-12 20:45:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-12 20:45:38 +0200 |
commit | 09fbc163663cd814488cb4be474f034525a8cca0 (patch) | |
tree | 4fe0fa11752a348d2e4f33b5675c978afd4ef6b4 /plugins/lein/lein.plugin.zsh | |
parent | be5bff2e86872c00536191265aa9fdef225af100 (diff) | |
download | zsh-09fbc163663cd814488cb4be474f034525a8cca0.tar.gz zsh-09fbc163663cd814488cb4be474f034525a8cca0.tar.bz2 zsh-09fbc163663cd814488cb4be474f034525a8cca0.zip |
Refactor lein plugin (#6914)
* Add upstream lein completion (cee9029d)
* Delete lein.plugin.zsh
Diffstat (limited to 'plugins/lein/lein.plugin.zsh')
-rw-r--r-- | plugins/lein/lein.plugin.zsh | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/plugins/lein/lein.plugin.zsh b/plugins/lein/lein.plugin.zsh deleted file mode 100644 index f4e50b447..000000000 --- a/plugins/lein/lein.plugin.zsh +++ /dev/null @@ -1,43 +0,0 @@ -function _lein_commands() { - local ret=1 state - _arguments ':subcommand:->subcommand' && ret=0 - - case $state in - subcommand) - subcommands=( - "classpath:print the classpath of the current project" - "clean:remove compiled files and dependencies from project" - "compile:ahead-of-time compile the project" - "deploy:build jar and deploy to remote repository" - "deps:download and install all dependencies" - "help:display a list of tasks or help for a given task" - "install:install the project and its dependencies in your local repository" - "int:enter an interactive task shell" - "interactive:enter an interactive task shell" - "jack-in:jack in to a clojure slime session from emacs." - "jar:create a jar file containing the compiled .class files" - "javac:compile java source files" - "new:create a new project skeleton" - "plugin:manage user-level plugins" - "pom:write a pom.xml file to disk for maven interop" - "repl:start a repl session either with the current project or standalone" - "retest:run only the test namespaces which failed last time around" - "run:run the project's -main function" - "search:search remote maven repositories for matching jars" - "swank:launch swank server for Emacs to connect" - "test:run the project's tests" - "test!:run a project's tests after cleaning and fetching dependencies" - "trampoline:run a task without nesting the project's JVM inside Leiningen's." - "uberjar:Create a jar including the contents of each of deps" - "upgrade:upgrade leiningen to the latest stable release" - "version:print leiningen's version" - ) - _describe -t subcommands 'leiningen subcommands' subcommands && ret=0 - ;; - *) _files - esac - - return ret -} - -compdef _lein_commands lein |