[Pkg-zsh-devel] Bug#631795: PATCH: _apt: add markauto and unmarkauto sub-commands
Frank Terbeck
ft at bewatermyfriend.org
Mon Jun 27 22:21:22 UTC 2011
From: Sebastian Ramacher <s.ramacher at gmx.at>
Received via Debian BTS #631795:
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631795>
Thanks!
---
Completion/Debian/Command/_apt | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Completion/Debian/Command/_apt b/Completion/Debian/Command/_apt
index 788fe31..3200fc9 100644
--- a/Completion/Debian/Command/_apt
+++ b/Completion/Debian/Command/_apt
@@ -438,7 +438,9 @@ _apt-get () {
/$'build-dep\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \
/$'autoremove\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
/$'help\0/' \| \
- /"[]"/ ':argument-1::compadd "$expl_action[@]" update upgrade install remove purge dist-upgrade dselect-upgrade clean autoclean check source build-dep autoremove help'
+ /$'markauto\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
+ /$'unmarkauto\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
+ /"[]"/ ':argument-1::compadd "$expl_action[@]" update upgrade install remove purge dist-upgrade dselect-upgrade clean autoclean check source build-dep autoremove help markauto unmarkauto'
_apt-get () {
local expl_action expl_packages
--
1.7.5
More information about the Pkg-zsh-devel
mailing list