Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Fwd: [Pkg-zsh-devel] Bug#702760: zsh: aptitude completion missing resolver options [origin: dbbcode@xxxxxxxxx]



Hi,

the patch in the attached mail expands zsh's aptitude completion by
two boolean options.

It applies to current zsh git HEAD without fuzz, but with an offset of
33 lines.

Initially reported in Debian at https://bugs.debian.org/702760

		Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | abe@xxxxxxxxxxxxxxx  (Mail)
 X   See http://www.nonhtmlmail.org/campaign.html | abe@xxxxxxxxx (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)
--- Begin Message ---
Package: zsh
Version: 4.3.10-14
Severity: normal

The _aptitude zsh completion file is missing --full-resolver and
--safe-resolver. Since these options are used frequently, I think it fitting
that they be added to the completion system. I have made a simple patch to add
them.

-- System Information:
Debian Release: 6.0.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages zsh depends on:
ii  libc6                     2.11.3-4       Embedded GNU C Library: Shared lib
ii  libcap2                   1:2.19-3       support for getting/setting POSIX.
ii  libncursesw5              5.7+20100313-5 shared libraries for terminal hand

Versions of packages zsh recommends:
ii  libc6                         2.11.3-4   Embedded GNU C Library: Shared lib
ii  libpcre3                      8.02-1.1   Perl 5 Compatible Regular Expressi

Versions of packages zsh suggests:
pn  zsh-doc                       <none>     (no description available)

-- no debconf information
--- /usr/share/zsh/functions/Completion/Debian/_aptitude	2010-06-30 12:25:11.000000000 -0400
+++ ./Completion/Debian/Command/_aptitude	2013-03-10 23:27:58.000000000 -0400
@@ -37,6 +37,8 @@
   '--schedule-only[schedule operations to be performed in the future]' \
   '--purge-unused[purge unused packages instead of removing]' \
   '--visual-preview[start up the visual interface and display its preview screen]' \
+  '--full-resolver[attempts to resolve conflicts with a higher risk of breakage]' \
+  '--safe-resolver[attempts to resolve conflicts with a lower risk of breakage]' \
   '-S[load the extended state information from non-standard state file]:state file:_files' \
   '-u[begin updating the package lists as soon as the program starts]' \
   '-i[displays a download preview when the program starts]' \
_______________________________________________
Pkg-zsh-devel mailing list
Pkg-zsh-devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-zsh-devel

--- End Message ---


Messages sorted by: Reverse Date, Date, Thread, Author