mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-24 04:29:25 +02:00
Merge 02862de0f9 into 9ad9ac69a6
This commit is contained in:
commit
bcd83c3c02
2 changed files with 13 additions and 1 deletions
|
|
@ -5,11 +5,13 @@ function _lein_commands() {
|
||||||
case $state in
|
case $state in
|
||||||
subcommand)
|
subcommand)
|
||||||
subcommands=(
|
subcommands=(
|
||||||
|
"check:check syntax and warn on reflection."
|
||||||
"classpath:print the classpath of the current project"
|
"classpath:print the classpath of the current project"
|
||||||
"clean:remove compiled files and dependencies from project"
|
"clean:remove compiled files and dependencies from project"
|
||||||
"compile:ahead-of-time compile the project"
|
"compile:ahead-of-time compile the project"
|
||||||
"deploy:build jar and deploy to remote repository"
|
"deploy:build jar and deploy to remote repository"
|
||||||
"deps:download and install all dependencies"
|
"deps:download and install all dependencies"
|
||||||
|
"do:Higher-order task to perform other tasks in succession."
|
||||||
"help:display a list of tasks or help for a given task"
|
"help:display a list of tasks or help for a given task"
|
||||||
"install:install the project and its dependencies in your local repository"
|
"install:install the project and its dependencies in your local repository"
|
||||||
"int:enter an interactive task shell"
|
"int:enter an interactive task shell"
|
||||||
|
|
@ -17,20 +19,26 @@ function _lein_commands() {
|
||||||
"jack-in:jack in to a clojure slime session from emacs."
|
"jack-in:jack in to a clojure slime session from emacs."
|
||||||
"jar:create a jar file containing the compiled .class files"
|
"jar:create a jar file containing the compiled .class files"
|
||||||
"javac:compile java source files"
|
"javac:compile java source files"
|
||||||
|
"keygen:Generate an SSH key pair for authentication with Clojars.org"
|
||||||
"new:create a new project skeleton"
|
"new:create a new project skeleton"
|
||||||
"plugin:manage user-level plugins"
|
"plugin:manage user-level plugins"
|
||||||
"pom:write a pom.xml file to disk for maven interop"
|
"pom:write a pom.xml file to disk for maven interop"
|
||||||
|
"pprint:Pretty-print a representation of the project map."
|
||||||
|
"push:push a jar to the Clojars.org repository over scp"
|
||||||
"repl:start a repl session either with the current project or standalone"
|
"repl:start a repl session either with the current project or standalone"
|
||||||
"retest:run only the test namespaces which failed last time around"
|
"retest:run only the test namespaces which failed last time around"
|
||||||
"run:run the project's -main function"
|
"run:run the project's -main function"
|
||||||
"search:search remote maven repositories for matching jars"
|
"search:search remote maven repositories for matching jars"
|
||||||
|
"show-profiles:list all available profiles or display one if given an argument."
|
||||||
"swank:launch swank server for Emacs to connect"
|
"swank:launch swank server for Emacs to connect"
|
||||||
"test:run the project's tests"
|
"test:run the project's tests"
|
||||||
"test!:run a project's tests after cleaning and fetching dependencies"
|
"test!:run a project's tests after cleaning and fetching dependencies"
|
||||||
"trampoline:run a task without nesting the project's JVM inside Leiningen's."
|
"trampoline:run a task without nesting the project's JVM inside Leiningen's."
|
||||||
"uberjar:Create a jar including the contents of each of deps"
|
"uberjar:Create a jar including the contents of each of deps"
|
||||||
|
"update-in:perform arbitrary transformations on your project map."
|
||||||
"upgrade:upgrade leiningen to the latest stable release"
|
"upgrade:upgrade leiningen to the latest stable release"
|
||||||
"version:print leiningen's version"
|
"version:print leiningen's version"
|
||||||
|
"with-profile:apply the given task with the profile(s) specified."
|
||||||
)
|
)
|
||||||
_describe -t subcommands 'leiningen subcommands' subcommands && ret=0
|
_describe -t subcommands 'leiningen subcommands' subcommands && ret=0
|
||||||
esac
|
esac
|
||||||
|
|
@ -38,4 +46,4 @@ function _lein_commands() {
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
|
|
||||||
compdef _lein_commands lein
|
compdef _lein_commands lein
|
||||||
|
|
@ -15,9 +15,13 @@ alias sbd='sbt doc'
|
||||||
alias sbdc='sbt dist:clean'
|
alias sbdc='sbt dist:clean'
|
||||||
alias sbdi='sbt dist'
|
alias sbdi='sbt dist'
|
||||||
alias sbgi='sbt gen-idea'
|
alias sbgi='sbt gen-idea'
|
||||||
|
alias sbec='sbt eclipse'
|
||||||
alias sbp='sbt publish'
|
alias sbp='sbt publish'
|
||||||
alias sbpl='sbt publish-local'
|
alias sbpl='sbt publish-local'
|
||||||
|
alias sbpk='sbt package'
|
||||||
|
alias sboj='sbt one-jar'
|
||||||
alias sbr='sbt run'
|
alias sbr='sbt run'
|
||||||
alias sbrm='sbt run-main'
|
alias sbrm='sbt run-main'
|
||||||
alias sbu='sbt update'
|
alias sbu='sbt update'
|
||||||
alias sbx='sbt test'
|
alias sbx='sbt test'
|
||||||
|
alias sbxo='sbt test-only'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue