From 61f6c2077d954bf227543fc351603573c9d4d4fe Mon Sep 17 00:00:00 2001 From: Sam Tobin-Hochstadt Date: Tue, 1 Jun 2010 13:37:44 -0400 Subject: [PATCH] Fix for new 'raco planet' output. - Merge to v5.0 --- collects/meta/contrib/completion/racket-completion.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collects/meta/contrib/completion/racket-completion.bash b/collects/meta/contrib/completion/racket-completion.bash index 2c2292646b..03d45e2562 100644 --- a/collects/meta/contrib/completion/racket-completion.bash +++ b/collects/meta/contrib/completion/racket-completion.bash @@ -85,7 +85,7 @@ complete -F _racket $filenames gracket-text _raco_planet() { local cur="${COMP_WORDS[COMP_CWORD]}" - local planetcmds=$( echo '' '--help' ; for x in `raco planet --help 2>&1 | sed -n -e 's/^ \(.[^ ]*\).*/\1/p'` ; do echo ${x} ; done ) + local planetcmds=$( echo '' '--help' ; for x in `raco planet --help 2>&1 | sed -n -e 's/^ raco planet \(.[^ ]*\).*/\1/p'` ; do echo ${x} ; done ) COMPREPLY=( $(compgen -W "${planetcmds}" -- ${cur}) ) }