Package: zsh
Version: 4.3.10-10
Severity: wishlist

The zsh completion for apt-get doesn't yet support the
--no-install-recommends option. Attached patch works for me.

regards,
-mika-
>From 09be64702773e86227c0afab1c744ca1a7631b9f Mon Sep 17 00:00:00 2001
From: Michael Prokop <[email protected]>
Date: Fri, 19 Feb 2010 15:38:23 +0100
Subject: [PATCH] apt completion: add support for --no-install-recommends option.

---
 Completion/Debian/Command/_apt |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Completion/Debian/Command/_apt b/Completion/Debian/Command/_apt
index f5b326f..788fe31 100644
--- a/Completion/Debian/Command/_apt
+++ b/Completion/Debian/Command/_apt
@@ -403,6 +403,7 @@ _apt-get () {
     -V,--verbose-versions:bool \
     -m,--ignore-missing,--fix-missing:bool \
     --no-download:bool \
+    --no-install-recommends:bool \
     --ignore-hold:bool \
     --no-upgrade:bool \
     --force-yes:bool \
-- 
1.7.0

Reply via email to