Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#579117: zsh: lsusb -s completion error



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