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

Fwd: [Pkg-zsh-devel] Bug#702000: zsh: gzip completion: --rsyncable option is missing [origin: vincent@xxxxxxxxxx]


the attached mail contains a patch to add the --rsyncable option to
zsh's gzip completion.

The patch applies cleanly against Completion/Unix/Command/_gzip in
current zsh git HEAD.

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

		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: 5.0.2-2
Severity: minor
Tags: patch

Debian's gzip version has a --rsyncable option (see "gzip --help"
output, the man page not being currently up to date). It should
be supported by "/usr/share/zsh/functions/Completion/Unix/_gzip".

See attached patch.

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages zsh depends on:
ii  dpkg        1.16.9
ii  libc6       2.13-38
ii  libcap2     1:2.22-1.2
ii  libtinfo5   5.9-10
ii  zsh-common  5.0.2-2

Versions of packages zsh recommends:
ii  libc6         2.13-38
ii  libncursesw5  5.9-10
ii  libpcre3      1:8.31-2

Versions of packages zsh suggests:
ii  zsh-doc  5.0.2-2

-- no debconf information
--- /usr/share/zsh/functions/Completion/Unix/_gzip	2012-12-28 14:38:19.000000000 +0100
+++ share/zsh/site-functions/_gzip	2013-03-01 15:42:50.000000000 +0100
@@ -39,6 +39,7 @@
     '(-q --quiet)--silent[suppress all warnings]' \
     '(--recursive)-r[operate recursively on directories]' \
     '(-r)--recursive[operate recursively on directories]' \
+    '--rsyncable[make rsync-friendly archive]' \
     '(--suffix)-S+[specify suffix for compressed files]:suffix:' \
     '(-S)--suffix=[specify suffix for compressed files]:suffix:' \
     '(--test)-t[test compressed file integrity]' \
Pkg-zsh-devel mailing list

--- End Message ---

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