mirror of https://github.com/sbt/sbt.git
Change remaining sbtc to sbtn
This commit is contained in:
parent
8ce423b088
commit
6bc784a195
|
|
@ -1,5 +1,5 @@
|
|||
#compdef sbtn
|
||||
|
||||
COMPLETE="--completions=${words[@]}"
|
||||
COMPLETIONS=($(sbtc --no-tab ${COMPLETE}))
|
||||
COMPLETIONS=($(sbtn --no-tab ${COMPLETE}))
|
||||
_alternative 'arguments:custom arg:($COMPLETIONS)'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
_do_sbtn_completions() {
|
||||
COMPREPLY=($(sbtc "--completions=${COMP_LINE}"))
|
||||
COMPREPLY=($(sbtn "--completions=${COMP_LINE}"))
|
||||
}
|
||||
|
||||
complete -F _do_sbtn_completions sbtn
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
function __sbtcomp
|
||||
sbtc --completions="$argv"
|
||||
sbtn --completions="$argv"
|
||||
end
|
||||
complete --command sbtn -f --arguments '(__sbtcomp (commandline -cp))'
|
||||
|
|
|
|||
Loading…
Reference in New Issue