fish-shell/share/functions/__fish_complete_lsusb.fish

4 lines
79 B
Fish
Raw Normal View History

2014-01-14 15:28:15 +08:00
function __fish_complete_lsusb
lsusb | awk '{print $2 ":" $4}'| cut -c1-7
end