Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
d03a6176
Commit
d03a6176
authored
Mar 02, 2011
by
Sankara Rameswaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lein completion
parent
52df8544
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
lein.plugin.zsh
plugins/lein/lein.plugin.zsh
+27
-0
No files found.
plugins/lein/lein.plugin.zsh
0 → 100644
View file @
d03a6176
function
_lein_commands
()
{
local
ret
=
1 state
_arguments
':subcommand:->subcommand'
&&
ret
=
0
case
$state
in
subcommand
)
subcommands
=(
"clean:remove compiled files and dependencies from project"
"compile:ahead-of-time compile the project"
"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"
"jar:create a jar file containing the compiled .class files"
"new:create a new project skeleton"
"pom:write a pom.xml file to disk for maven interop"
"test:run the project's tests"
"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
esac
return
ret
}
compdef _lein_commands lein
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment