Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#579117: zsh: lsusb -s completion error
- X-seq: zsh-workers 27913
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Clint Adams <schizo@xxxxxxxxxx>
- Subject: Re: Bug#579117: zsh: lsusb -s completion error
- Date: Mon, 26 Apr 2010 00:30:29 +0200
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=UgfJgQugWnmR1Mr9pnUVpgL4Ui/t9IGxqsxaakNIa/w=; b=mIul508LWw6KiMHZ2FWmyjU6T8wmcY3P8LCs688A++wI8V2Tpu5mvQ6oy+5zD8GkJn RYgJUxQRgMadk0zdzXck3mrK7yeluSVmQXR1SSxT+Xnyi1FLrX7vekiJjT30YDiFESe4 aHZxVsMHfaZjTEr+YLgHebHAnHZfN8diNL99k=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ReA8VAb8FtAfdvo2yhCWVfnwTMaSunXi0rQNctJ++bplnoLmhLFypk4yoljGyB25Ue kcuKEAvd5+0NEXXTNhiZs1lVyU8K6TtLhkIjdTxp8d7EBi7LGbZmt/CmCeu98diGGYzU aQsaPVpsozeIZ9TuW15vgRvEXp3k0L4ESgE1Y=
- In-reply-to: <20100425221501.GA15718@xxxxxxxx>
- 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>
On 26 April 2010 00:15, Clint Adams <schizo@xxxxxxxxxx> wrote:
> 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
That still doesn't solve the issue of the file being in another
directory though...
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author