* Fwd: Bug#729921: zsh: Update for axi-cache completion [origin: fsateler@debian.org]
@ 2014-06-28 13:59 Axel Beckert
0 siblings, 0 replies; only message in thread
From: Axel Beckert @ 2014-06-28 13:59 UTC (permalink / raw)
To: zsh-workers
[-- Attachment #1: Type: text/plain, Size: 662 bytes --]
Hi,
the attached mail contains a patch which updates zsh's axi-cache
completion to add some subcommands and to disable file name completion
for the subcommands info and help.
The patch applies cleanly against Completion/Debian/Command/_axi-cache
in zsh's git HEAD.
Initially reported in Debian at https://bugs.debian.org/729921
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: 5468 bytes --]
[-- Attachment #2.1.1: Type: text/plain, Size: 921 bytes --]
Package: zsh
Version: 5.0.2-6
Severity: minor
Tags: patch
Dear zsh maintainers,
Please find attached an update for the axi-cache completion function
adding a few commands missing.
Sorry for CCing everyone, but since alioth is down the mail wouldn't
have arrived.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.11-2-amd64 (SMP w/4 CPU cores)
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.17-96
ii libcap2 1:2.22-1.2
ii libtinfo5 5.9+20130608-1
ii zsh-common 5.0.2-6
Versions of packages zsh recommends:
ii libncursesw5 5.9+20130608-1
ii libpcre3 1:8.31-2
Versions of packages zsh suggests:
pn zsh-doc <none>
-- no debconf information
[-- Attachment #2.1.2: axi-cache.patch --]
[-- Type: text/x-diff, Size: 836 bytes --]
--- /usr/share/zsh/functions/Completion/Debian/_axi-cache 2013-10-26 10:20:46.000000000 -0300
+++ .zsh/functions/_axi-cache 2013-11-18 18:35:55.803964725 -0300
@@ -11,10 +11,11 @@
if (( CURRENT == 2 )); then
_wanted tag expl 'axi-cache commands' \
- compadd help search more last show again
+ compadd help search more last show again info \
+ rdetails depends madison policy showpkg showsrc
else
case "$words[2]" in
- (search|show|again)
+ (search|show|again|rdetails|depends|madison|policy|showpkg|showsrc)
_wanted tag expl 'terms/query' \
compadd -- $($service $words[2] --tabcomplete=plain -- $words[CURRENT])
;;
@@ -22,6 +23,9 @@
_wanted tag expl 'count' \
compadd -- 1 2 3 4 5 6 7 8 9 0
;;
+ (help|info)
+ # no args
+ ;;
(*)
_files
;;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-06-28 13:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-28 13:59 Fwd: Bug#729921: zsh: Update for axi-cache completion [origin: fsateler@debian.org] Axel Beckert
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).