Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#579117: zsh: lsusb -s completion error
- X-seq: zsh-workers 27912
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx, 579117@xxxxxxxxxxxxxxx
- Subject: Re: Bug#579117: zsh: lsusb -s completion error
- Date: Sun, 25 Apr 2010 22:15:01 +0000
- In-reply-to: <s2u237967ef1004250730q7f5fc0f0m7281e082b8d0c48c@xxxxxxxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20100425131041.20113.30011.reportbug@localhost> <20100425134959.GA1911@xxxxxxxx> <y2t237967ef1004250717h41cbcc0di3d315fd7cdc807a6@xxxxxxxxxxxxxx> <20100425142740.GA3167@xxxxxxxx> <s2u237967ef1004250730q7f5fc0f0m7281e082b8d0c48c@xxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author