[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-515-g665ceeb

David Paleino dapal at debian.org
Sun Nov 6 19:28:52 UTC 2011


The following commit has been merged in the master branch:
commit 665ceebf3b6b2267034aa3dc818d24f839cd985c
Author: David Paleino <dapal at debian.org>
Date:   Sun Nov 6 20:28:34 2011 +0100

    Oops, fix completion

diff --git a/completions/dpkg b/completions/dpkg
index 5794c2e..1d1ea82 100644
--- a/completions/dpkg
+++ b/completions/dpkg
@@ -19,7 +19,7 @@ _comp_dpkg_installed_packages()
 _have grep-status && {
 _comp_dpkg_purgeable_packages()
 {
-    grep-status -P -e '^ruby' -a -FStatus 'install ok installed' -o -FStatus 'deinstall ok config-files' -n -s Package
+    grep-status -P -e '^$1' -a -FStatus 'install ok installed' -o -FStatus 'deinstall ok config-files' -n -s Package
 }
 } || {
 _comp_dpkg_purgeable_packages()

-- 
bash-completion



More information about the Bash-completion-commits mailing list