From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27162 invoked by alias); 25 Apr 2010 22:15:16 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 27912 Received: (qmail 5446 invoked from network); 25 Apr 2010 22:15:05 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at debian.org does not designate permitted sender hosts) Date: Sun, 25 Apr 2010 22:15:01 +0000 From: Clint Adams To: zsh-workers@zsh.org, 579117@bugs.debian.org Subject: Re: Bug#579117: zsh: lsusb -s completion error Message-ID: <20100425221501.GA15718@scru.org> References: <20100425131041.20113.30011.reportbug@localhost> <20100425134959.GA1911@scru.org> <20100425142740.GA3167@scru.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) 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 -0000 1.1 +++ Completion/Linux/Command/_lsusb 25 Apr 2010 22:13:15 -0000 @@ -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