Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: add autoremove to apt completion
- X-seq: zsh-workers 23078
- From: Chmouel Boudjnah <cboudjnah@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: PATCH: add autoremove to apt completion
- Date: Thu, 28 Dec 2006 16:20:09 +1100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
--- ./Completion/Debian/_apt.chmou 2006-12-28 16:17:59.957016000 +1100
+++ ./Completion/Debian/_apt 2006-12-28 16:18:02.585180250 +1100
@@ -427,6 +427,7 @@
/$'install\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \
/$'[^\0/]#/'/ /$'[^\0/]#\0'/ ':release name::_apt_releases' \) \| \
/$'remove\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
+ /$'autoremove\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
/$'dist-upgrade\0'/ \| \
/$'dselect-upgrade\0'/ \| \
/$'clean\0'/ \| \
@@ -435,7 +436,7 @@
/$'source\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \
/$'build-dep\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \
/$'help\0/' \| \
- /"[]"/ ':argument-1::compadd "$expl_action[@]" update upgrade install remove dist-upgrade dselect-upgrade clean autoclean check source build-dep help'
+ /"[]"/ ':argument-1::compadd "$expl_action[@]" update upgrade install autoremove remove dist-upgrade dselect-upgrade clean autoclean check source build-dep help'
_apt-get () {
local expl_action expl_packages
--
Chmouel Boudjnah - Head Sysadmin - Squiz.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author