FS#44388 - [zsh] _lsusb completion function not working with bus devies

Attached to Project: Arch Linux
Opened by Pablo Olmos de Aguilera Corradini (pablox) - Sunday, 29 March 2015, 00:28 GMT
Last edited by Pierre Schmitz (Pierre) - Saturday, 16 May 2015, 12:10 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When trying to autocomplete, I get an error about not finding `/usr/share/misc/usb.ids`.

Additional info:
* package version(s)

[code]
$ zsh --version
zsh 5.0.7 (x86_64-unknown-linux-gnu)
[/code]


Steps to reproduce:

[code]
$ lsusb -s ...
_lsusb:16: no such file or directory: /usr/share/misc/usb.ids
_lsusb:16: no such file or directory: /usr/share/misc/usb.ids
[/code]

This is easiliy solved by changing the path, since it comes with the `hwids` package, but lives in another directory:

[code]/usr/share/hwdata/usb.ids[/code]

I also attach a suggested patch.
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Saturday, 16 May 2015, 12:10 GMT
Reason for closing:  Fixed

Loading...