Rename __fish_complete_usb function.

This commit is contained in:
Konrad Borowski 2014-01-14 08:28:15 +01:00
parent 290aae80e1
commit b9394b9599
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
complete -c lsusb -s v -l verbose --description "Increase verbosity (show descriptors)"
complete -x -c lsusb -s s -a '(__fish_complete_usb)' --description "Show only devices with specified device and/or bus numbers (in decimal)"
complete -x -c lsusb -s s -a '(__fish_complete_lsusb)' --description "Show only devices with specified device and/or bus numbers (in decimal)"
complete -c lsusb -s d --description "Show only devices with the specified vendor and product ID numbers (in hexadecimal)"
complete -c lsusb -s D -l device --description "Selects which device lsusb will examine"
complete -c lsusb -s t -l tree --description "Dump the physical USB device hierarchy as a tree"

View File

@ -1,3 +1,3 @@
function __fish_complete_usb
function __fish_complete_lsusb
lsusb | awk '{print $2 ":" $4}'| cut -c1-7
end