From 665ceebf3b6b2267034aa3dc818d24f839cd985c Mon Sep 17 00:00:00 2001 From: David Paleino Date: Sun, 6 Nov 2011 20:28:34 +0100 Subject: [PATCH] Oops, fix completion --- completions/dpkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/completions/dpkg b/completions/dpkg index 5794c2e1..1d1ea825 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()