zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: Clint Adams <schizo@debian.org>
Cc: zsh-workers@zsh.org
Subject: Re: Bug#579117: zsh: lsusb -s completion error
Date: Mon, 26 Apr 2010 00:30:29 +0200	[thread overview]
Message-ID: <l2x237967ef1004251530q1b83d3c7o5d70a76bb073de73@mail.gmail.com> (raw)
In-Reply-To: <20100425221501.GA15718@scru.org>

On 26 April 2010 00:15, Clint Adams <schizo@debian.org> 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


  reply	other threads:[~2010-04-25 22:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20100425131041.20113.30011.reportbug@localhost>
2010-04-25 13:49 ` Clint Adams
2010-04-25 14:17   ` Mikael Magnusson
2010-04-25 14:27     ` Clint Adams
2010-04-25 14:30       ` Mikael Magnusson
2010-04-25 22:15         ` Clint Adams
2010-04-25 22:30           ` Mikael Magnusson [this message]
2010-04-25 22:36             ` Clint Adams
2010-04-25 22:39               ` Clint Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=l2x237967ef1004251530q1b83d3c7o5d70a76bb073de73@mail.gmail.com \
    --to=mikachu@gmail.com \
    --cc=schizo@debian.org \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).