Move shell completion to its own package.

This commit is contained in:
Vincent St-Amour 2013-07-15 17:48:50 -04:00
parent 43671a03db
commit 5c74af045a
6 changed files with 7 additions and 2 deletions

View File

@ -59,6 +59,7 @@
"schemeunit"
"scribble"
"sgl"
"shell-completion"
"slatex"
"slideshow"
"snip"

View File

@ -853,7 +853,6 @@ path/s is either such a string or a list of them.
"pkgs/plt-services/meta" responsible (eli)
"pkgs/plt-services/meta/build" drdr:command-line #f
"pkgs/plt-services/meta/check-dists.rkt" drdr:timeout 1200
"pkgs/plt-services/meta/contrib/completion/racket-completion.bash" responsible (samth sstrickl) drdr:command-line #f
"pkgs/plt-services/meta/drdr" responsible (jay) drdr:command-line #f
"pkgs/plt-services/meta/drdr2" responsible (jay) drdr:command-line #f
"pkgs/plt-services/meta/images/mkheart.rkt" drdr:command-line #f
@ -1373,6 +1372,7 @@ path/s is either such a string or a list of them.
"pkgs/racket-pkgs/racket-test/tests/syntax" responsible (stamourv mflatt)
"pkgs/racket-pkgs/racket-test/tests/syntax-color" responsible (mflatt)
"pkgs/racket-pkgs/racket-test/tests/test-engine" responsible (kathyg)
"pkgs/shell-completion/racket-completion.bash" responsible (samth sstrickl) drdr:command-line #f
"pkgs/typed-racket-pkgs/typed-racket-tests/tests/typed-racket" responsible (samth stamourv)
"pkgs/typed-racket-pkgs/typed-racket-tests/tests/typed-racket/fail" drdr:command-line #f
"pkgs/typed-racket-pkgs/typed-racket-tests/tests/typed-racket/fail/with-type3.rkt" responsible (sstrickl)

View File

@ -0,0 +1,4 @@
#lang info
(define collection "shell-completion")
(define deps '("base"))

View File

@ -116,7 +116,7 @@ _complete_collects() {
local cur="$1"
if [[ "${#_racket_collects[@]}" -eq 0 ]]; then
_racket_collects=(
$( $_racket_cmd -e '(require meta/contrib/completion/list-collects)' )
$( $_racket_cmd -e '(require shell-completion/list-collects)' )
)
fi
local wordlist=""