Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Completion for Debian _apt missing --auto-remove option
- X-seq: zsh-workers 33712
- From: saga <saga.xu@xxxxxxxxxxxxx>
- To: zsh-workers <zsh-workers@xxxxxxx>
- Subject: Completion for Debian _apt missing --auto-remove option
- Date: Wed, 19 Nov 2014 20:13:04 +0800 (GMT+08:00)
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author