mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-16 02:27:03 +01:00
Fixed completion errors
This commit is contained in:
commit
f0a069b187
1 changed files with 1 additions and 22 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
# FILE: sbt.plugin.zsh
|
# FILE: sbt.plugin.zsh
|
||||||
# DESCRIPTION: oh-my-zsh plugin file.
|
# DESCRIPTION: oh-my-zsh plugin file.
|
||||||
# AUTHOR: Mirko Caserta (mirko.caserta@gmail.com)
|
# AUTHOR: Mirko Caserta (mirko.caserta@gmail.com)
|
||||||
# VERSION: 1.0.1
|
# VERSION: 1.0.2
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
# aliases - mnemonic: prefix is 'sb'
|
# aliases - mnemonic: prefix is 'sb'
|
||||||
|
|
@ -21,24 +21,3 @@ 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'
|
||||||
|
|
||||||
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