mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 02:24:03 +01:00
Merge 030d9ee097 into 615e41b0ec
This commit is contained in:
commit
0fbf9fe2b5
1 changed files with 27 additions and 0 deletions
27
plugins/sbt/sbt.plugin.zsh
Normal file
27
plugins/sbt/sbt.plugin.zsh
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
# FILE: sbt.plugin.zsh
|
||||||
|
# DESCRIPTION: oh-my-zsh plugin file.
|
||||||
|
# AUTHOR: Mirko Caserta (mirko.caserta@gmail.com)
|
||||||
|
# VERSION: 1.0.0
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
function listSbtCompletions {
|
||||||
|
reply=(
|
||||||
|
# common lifecycle
|
||||||
|
clean compile doc gen-idea update
|
||||||
|
# console
|
||||||
|
console console-quick console-project
|
||||||
|
# dist
|
||||||
|
dist dist:clean
|
||||||
|
# package
|
||||||
|
package package-doc package-src
|
||||||
|
# publish
|
||||||
|
publish publish-local
|
||||||
|
#
|
||||||
|
run run-main
|
||||||
|
# test
|
||||||
|
test test-only test-quick test:console-quick test:run-main
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
compctl -K listSbtCompletions sbt
|
||||||
Loading…
Add table
Add a link
Reference in a new issue