diff options
-rw-r--r-- | share/completions/lsusb.fish | 2 | ||||
-rw-r--r-- | share/functions/__fish_complete_lsusb.fish (renamed from share/functions/__fish_complete_usb.fish) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/share/completions/lsusb.fish b/share/completions/lsusb.fish index ec2a130a..bbf013b0 100644 --- a/share/completions/lsusb.fish +++ b/share/completions/lsusb.fish @@ -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" diff --git a/share/functions/__fish_complete_usb.fish b/share/functions/__fish_complete_lsusb.fish index a3df06a1..faf7ae5b 100644 --- a/share/functions/__fish_complete_usb.fish +++ b/share/functions/__fish_complete_lsusb.fish @@ -1,3 +1,3 @@ -function __fish_complete_usb +function __fish_complete_lsusb lsusb | awk '{print $2 ":" $4}'| cut -c1-7 end |