fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
384975c89
master
1function __fish_complete_lsusb 2lsusb | awk -F[ :] '{ print $2 ":" $4 }' 3end 4 5complete -c lsusb -s v -l verbose -d"Increase verbosity (show descriptors)" 6complete -x -c lsusb -s s -a'(__fish_complete_lsusb)' -d"Show only devices with specified device and/or bus numbers (in decimal)" 7complete -c lsusb -s d -d"Show only devices with the given vendor and product ID numbers (in hexadecimal)" 8complete -c lsusb -s D -l device -d"Selects which device lsusb will examine" 9complete -c lsusb -s t -l tree -d"Dump the physical USB device hierarchy as a tree" 10complete -c lsusb -s V -l version -d"Show version of program" 11complete -c lsusb -s h -l help -d"Show usage and help"