Bug#579117: zsh: lsusb -s completion error
Package: zsh Version: 4.3.10-11 Severity: minor Hi, when trying to use completion after typing lsusb -s I get following error: gzip: /var/lib/usbutils/usb.ids: not in gzip format This is probably related to bug #448803 regards arno -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (990, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages zsh depends on: ii libc6 2.10.2-7 Embedded GNU C Library: Shared lib ii libcap2 1:2.17-2 support for getting/setting POSIX. ii libncursesw5 5.7+20100313-2 shared libraries for terminal hand Versions of packages zsh recommends: ii libc6 2.10.2-7 Embedded GNU C Library: Shared lib ii libpcre3 7.8-3 Perl 5 Compatible Regular Expressi Versions of packages zsh suggests: pn zsh-doc none (no description available) -- Configuration Files: /etc/zsh/zlogout changed [not included] /etc/zsh/zprofile changed [not included] /etc/zsh/zshenv changed [not included] /etc/zsh/zshrc changed [not included] -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#579117: zsh: lsusb -s completion error
On Sun, Apr 25, 2010 at 03:10:41PM +0200, arno renevier wrote: when trying to use completion after typing lsusb -s I get following error: gzip: /var/lib/usbutils/usb.ids: not in gzip format This is probably related to bug #448803 Anyone have an idea better than using a zstyle to avoid zcat? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#579117: zsh: lsusb -s completion error
On 25 April 2010 16:27, Clint Adams cl...@zsh.org wrote: On Sun, Apr 25, 2010 at 04:17:49PM +0200, Mikael Magnusson wrote: Anyone have an idea better than using a zstyle to avoid zcat? On my system (gentoo), the file is /usr/share/misc/usb.ids. (there's both the .ids and .ids.gz there). So the .ids is also uncompressed on Gentoo? Yeah, the .ids file is uncompressed, and the .ids.gz file is gzipped. -- Mikael Magnusson -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#579117: zsh: lsusb -s completion error
On Sun, Apr 25, 2010 at 04:17:49PM +0200, Mikael Magnusson wrote: Anyone have an idea better than using a zstyle to avoid zcat? On my system (gentoo), the file is /usr/share/misc/usb.ids. (there's both the .ids and .ids.gz there). So the .ids is also uncompressed on Gentoo? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#579117: zsh: lsusb -s completion error
On Sun, Apr 25, 2010 at 04:30:14PM +0200, Mikael Magnusson wrote: Yeah, the .ids file is uncompressed, and the .ids.gz file is gzipped. I'm going to presume that everyone has switched to uncompressed due to HAL craziness, and do this Index: Completion/Linux/Command/_lsusb === RCS file: /cvsroot/zsh/zsh/Completion/Linux/Command/_lsusb,v retrieving revision 1.1 diff -u -r1.1 _lsusb --- Completion/Linux/Command/_lsusb 30 Sep 2007 11:39:56 - 1.1 +++ Completion/Linux/Command/_lsusb 25 Apr 2010 22:13:15 - @@ -25,7 +25,7 @@ _lsusb_devices[${pair}]=$match[2] ;; esac - done (zcat /var/lib/usbutils/usb.ids) + done /var/lib/usbutils/usb.ids fi compadd -k _lsusb_devices -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org