Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#579117: zsh: lsusb -s completion error
- X-seq: zsh-workers 27914
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Bug#579117: zsh: lsusb -s completion error
- Date: Sun, 25 Apr 2010 22:36:24 +0000
- In-reply-to: <l2x237967ef1004251530q1b83d3c7o5d70a76bb073de73@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> <20100425221501.GA15718@xxxxxxxx> <l2x237967ef1004251530q1b83d3c7o5d70a76bb073de73@xxxxxxxxxxxxxx>
On Mon, Apr 26, 2010 at 12:30:29AM +0200, Mikael Magnusson wrote:
> That still doesn't solve the issue of the file being in another
> directory though...
Nor does this.
Index: Completion/Linux/Command/_lsusb
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Linux/Command/_lsusb,v
retrieving revision 1.2
diff -u -r1.2 _lsusb
--- Completion/Linux/Command/_lsusb 25 Apr 2010 22:19:19 -0000 1.2
+++ Completion/Linux/Command/_lsusb 25 Apr 2010 22:35:47 -0000
@@ -25,7 +25,7 @@
_lsusb_devices[${pair}]="$match[2]"
;;
esac
- done < /var/lib/usbutils/usb.ids
+ done < /usr/share/misc/pci.ids
fi
compadd -k _lsusb_devices
Messages sorted by:
Reverse Date,
Date,
Thread,
Author