aboutsummaryrefslogtreecommitdiffhomepage
path: root/share
diff options
context:
space:
mode:
authorGravatar Konrad Borowski <glitchmr@myopera.com>2014-01-14 08:28:15 +0100
committerGravatar Konrad Borowski <glitchmr@myopera.com>2014-01-14 08:28:15 +0100
commitb9394b9599c2449a1f542979eba6c0dc51e13b21 (patch)
tree7448bd757b17213621be3d7c0c7ef628f2841330 /share
parent290aae80e172c52dbaae03539eaa28fe47b1e782 (diff)
Rename __fish_complete_usb function.
Diffstat (limited to 'share')
-rw-r--r--share/completions/lsusb.fish2
-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