zsh-workers
 help / color / mirror / code / Atom feed
From: saga <saga.xu@avantport.com>
To: zsh-workers <zsh-workers@zsh.org>
Subject: Completion for Debian _apt missing --auto-remove option
Date: Wed, 19 Nov 2014 20:13:04 +0800 (GMT+08:00)	[thread overview]
Message-ID: <AE*AggDBALiUyeqWNpLpMaoC.1.1416399184216.Hmail.saga.xu@avantport.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 721 bytes --]

Hi guys, 

 I installed zsh on Ubuntu 14.10,and make it the default shell. But i found that the zsh completion for apt-get missiong the "--auto-remove" option.
     --auto-remove
           If the command is either install or remove, then this option acts like running the autoremove command, removing unused dependency packages. Configuration Item:
           APT::Get::AutomaticRemove.

I checked the debian's apt-get,it also has the  "--auto-remove" option。
This is not a ubuntu-only feature, i fixed this with one line addtion in "Completion/Debian/_apt" as bellow:
 --auto-remove:bool \


                                                                                                      Many thanks.





             reply	other threads:[~2014-11-19 12:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-19 12:13 saga [this message]
2014-11-20  0:34 ` Axel Beckert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AE*AggDBALiUyeqWNpLpMaoC.1.1416399184216.Hmail.saga.xu@avantport.com' \
    --to=saga.xu@avantport.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).