[Bash-completion-commits] [bash-completion] 01/01: _completion_loader: Protect compgen from -* leakage (Debian: #769399)

Ville Skyttä scop-guest at moszumanska.debian.org
Sat Nov 15 19:38:33 UTC 2014


This is an automated email from the git hooks/post-receive script.

scop-guest pushed a commit to branch master
in repository bash-completion.

commit 32e6e4908885197ae3f48da0f4fe7d182245818b
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sat Nov 15 21:37:47 2014 +0200

    _completion_loader: Protect compgen from -* leakage (Debian: #769399)
---
 bash_completion | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bash_completion b/bash_completion
index 388c5d5..55c9e48 100644
--- a/bash_completion
+++ b/bash_completion
@@ -1965,7 +1965,7 @@ _completion_loader()
     done
 
     # Need to define *something*, otherwise there will be no completion at all.
-    complete -F _minimal "$cmd" && return 124
+    complete -F _minimal -- "$cmd" && return 124
 } &&
 complete -D -F _completion_loader
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/bash-completion/bash-completion.git



More information about the Bash-completion-commits mailing list