From: Axel Beckert <abe@deuxchevaux.org>
To: zsh-workers@zsh.org
Subject: Fwd: [Pkg-zsh-devel] Bug#702760: zsh: aptitude completion missing resolver options [origin: dbbcode@gmail.com]
Date: Sat, 28 Jun 2014 14:34:24 +0200 [thread overview]
Message-ID: <20140628123424.GC5355@sym.noone.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 571 bytes --]
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@deuxchevaux.org (Mail)
X See http://www.nonhtmlmail.org/campaign.html | abe@noone.org (Mail+Jabber)
/ \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)
[-- Attachment #2: Type: message/rfc822, Size: 6711 bytes --]
[-- Attachment #2.1.1: Type: text/plain, Size: 1189 bytes --]
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
[-- Attachment #2.1.2: zsh_apti.patch --]
[-- Type: text/plain, Size: 814 bytes --]
--- /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]' \
[-- Attachment #2.1.3: Type: text/plain, Size: 182 bytes --]
_______________________________________________
Pkg-zsh-devel mailing list
Pkg-zsh-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-zsh-devel
reply other threads:[~2014-06-28 12:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20140628123424.GC5355@sym.noone.org \
--to=abe@deuxchevaux.org \
--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).